summaryrefslogtreecommitdiffstats
path: root/packages/policy-distribution-docker/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-17 00:19:56 -0500
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-17 00:21:22 -0500
commitf2c8a75c605ac97459973ce8ad4d57c0e050e402 (patch)
tree2325107e4daa5d6371af0deed12d7c8cbc953e53 /packages/policy-distribution-docker/src/main/docker/Dockerfile
parentb5720b3294799ad41d0858b5fe4eb95a6a01d2ba (diff)
Add NSS libraries to images
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>
Diffstat (limited to 'packages/policy-distribution-docker/src/main/docker/Dockerfile')
-rw-r--r--packages/policy-distribution-docker/src/main/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-distribution-docker/src/main/docker/Dockerfile b/packages/policy-distribution-docker/src/main/docker/Dockerfile
index da2eceb0..ff520155 100644
--- a/packages/policy-distribution-docker/src/main/docker/Dockerfile
+++ b/packages/policy-distribution-docker/src/main/docker/Dockerfile
@@ -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