From f2c8a75c605ac97459973ce8ad4d57c0e050e402 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Sun, 17 Mar 2019 00:19:56 -0500 Subject: 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 --- packages/policy-distribution-docker/src/main/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') 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 -- cgit 1.2.3-korg