diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-17 00:09:56 -0500 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-17 00:11:44 -0500 |
commit | 951b2903c19c8499cffe9d39ecde0bf0a44c774b (patch) | |
tree | 4b3ecc2393c489c34c73ef3f674c6f18ee11115d | |
parent | b860666a5f30e547e63149b064ce91e058e0b3ca (diff) |
Manually 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 other nice to have basic utilities for debugging
to base image.
Change-Id: Ia836c15b17836d46cd61d312f514bd6eb9a8c956
Issue-ID: POLICY-1604
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
-rw-r--r-- | packages/policy-api-docker/src/main/docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/policy-api-docker/src/main/docker/Dockerfile b/packages/policy-api-docker/src/main/docker/Dockerfile index ab419963..d14ebd11 100644 --- a/packages/policy-api-docker/src/main/docker/Dockerfile +++ b/packages/policy-api-docker/src/main/docker/Dockerfile @@ -14,8 +14,8 @@ ENV POLICY_HOME=/opt/app/policy ENV POLICY_API_HOME=${POLICY_HOME}/api RUN \ - apk add --no-cache --update busybox-extras bash zip unzip curl wget \ - openssh maven openjdk8 jq httpie py-pip + 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 |