From: jhh Date: Wed, 19 Feb 2020 23:24:50 +0000 (-0600) Subject: Remove POLICY_HOME/etc/ssl and python X-Git-Tag: 2.0.1~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F102028%2F1;p=policy%2Fdocker.git 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 --- 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}