Add NSS libraries to images 30/82530/1
authorJorge Hernandez <jorge.hernandez-herrero@att.com>
Sun, 17 Mar 2019 05:19:56 +0000 (00:19 -0500)
committerJorge Hernandez <jorge.hernandez-herrero@att.com>
Sun, 17 Mar 2019 05:21:22 +0000 (00:21 -0500)
Alpine OpenJDK was updated 2 days ago (3/14), this
upgrade seems to break java applications that depend on libnss*.so
OS libraries, which seem are no longer installed with the jdk.

Added some other libraries to aid when debugging.

Change-Id: I97e58b963420a43e91f9596ed72a82185a20d859
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
packages/policy-distribution-docker/src/main/docker/Dockerfile

index da2eceb..ff52015 100644 (file)
@@ -13,7 +13,8 @@ ENV POLICY_LOGS ${POLICY_LOGS}
 ENV POLICY_HOME=/opt/app/policy
 ENV POLICY_DISTRIBUTION_HOME=${POLICY_HOME}/distribution
 
-RUN apk add --no-cache --update busybox-extras bash zip unzip curl wget openssh openjdk8 maven jq httpie py-pip
+RUN apk add --no-cache --update busybox-extras bash nss procps coreutils findutils grep zip unzip \
+                                curl wget openssh openjdk8 maven jq httpie py-pip
 
 RUN addgroup -S policy && \
     adduser -S --shell /bin/bash -G policy policy