From 1c3e0cc8cb3d2bf3744294cc26c75181378303c2 Mon Sep 17 00:00:00 2001 From: jhh Date: Wed, 19 Feb 2020 17:24:50 -0600 Subject: Remove POLICY_HOME/etc/ssl and python These are companion changes to https://gerrit.onap.org/r/#/c/policy/docker/+/101758/. to keep them consistent. In a nutshell, directory layout under POLICY_HOME should be done by individual components, as well as python installation. Issue-ID: POLICY-2181 Signed-off-by: jhh Change-Id: Ie0a538ad7b9b245d43e707cf92303829f0dae2ff --- policy-jre/debian-slim/src/main/docker/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/policy-jre/debian-slim/src/main/docker/Dockerfile b/policy-jre/debian-slim/src/main/docker/Dockerfile index de01a2dc..88161393 100644 --- a/policy-jre/debian-slim/src/main/docker/Dockerfile +++ b/policy-jre/debian-slim/src/main/docker/Dockerfile @@ -28,11 +28,8 @@ ENV POLICY_HOME=/opt/app/policy RUN apt-get -y update \ && apt-get -y install \ curl \ - httpie \ jq \ less \ - python \ - python-pip \ ssh \ unzip \ vim \ @@ -41,5 +38,5 @@ RUN apt-get -y update \ && mkdir /usr/lib/jvm \ && ln -s /usr/local/openjdk-11 /usr/lib/jvm/java-11-openjdk \ && adduser --shell /bin/bash --disabled-password policy \ - && mkdir -p ${POLICY_HOME}/etc/ssl \ - && chown -R policy:policy ${POLICY_HOME} + && mkdir -p ${POLICY_HOME}/ \ + && chown policy:policy ${POLICY_HOME} -- cgit 1.2.3-korg