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