Add NSS libraries to images 32/82532/1
authorJorge Hernandez <jorge.hernandez-herrero@att.com>
Sun, 17 Mar 2019 05:24:34 +0000 (00:24 -0500)
committerJorge Hernandez <jorge.hernandez-herrero@att.com>
Sun, 17 Mar 2019 05:25:41 +0000 (00:25 -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: I0f5cbe5792038cf569940a1b32c109c9dd1e66cc
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
packages/policy-pap-docker/src/main/docker/Dockerfile

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