diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-17 00:24:34 -0500 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-17 00:25:41 -0500 |
commit | 85a36eddc97972d352a4700416efe74e22f2a53b (patch) | |
tree | 7826ca1b1f56af77c9d5bf7d934ec569c7bc6c14 /packages/policy-pap-docker | |
parent | b2b07aac26a487be0722085a039ac6cbf8a1ca6b (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: I0f5cbe5792038cf569940a1b32c109c9dd1e66cc
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'packages/policy-pap-docker')
-rw-r--r-- | packages/policy-pap-docker/src/main/docker/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-pap-docker/src/main/docker/Dockerfile b/packages/policy-pap-docker/src/main/docker/Dockerfile index 706df22d..0870fbf5 100644 --- a/packages/policy-pap-docker/src/main/docker/Dockerfile +++ b/packages/policy-pap-docker/src/main/docker/Dockerfile @@ -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 |