aboutsummaryrefslogtreecommitdiffstats
path: root/policy-jre/debian-slim
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-02-19 17:24:50 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-02-19 17:24:50 -0600
commit1c3e0cc8cb3d2bf3744294cc26c75181378303c2 (patch)
tree7568337a8100bf987c7cd60d38a02aae8d1615c0 /policy-jre/debian-slim
parent01565f40f72917c84094478239a65191e60808cb (diff)
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 <jorge.hernandez-herrero@att.com> Change-Id: Ie0a538ad7b9b245d43e707cf92303829f0dae2ff
Diffstat (limited to 'policy-jre/debian-slim')
-rw-r--r--policy-jre/debian-slim/src/main/docker/Dockerfile7
1 files 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}