summaryrefslogtreecommitdiffstats
path: root/policy-jdk/debian-slim/src
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-02-14 11:42:25 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-02-16 18:17:39 -0600
commit456fcec97a1d9686b8e335e9ea7d82dbb7937f90 (patch)
tree3317c23bb7f18a05b9bd7ff755578074b6ff3512 /policy-jdk/debian-slim/src
parent44283c65057e63f91adc4ab0137fa47cf5c8b709 (diff)
Remove creation of POLICY_HOME/etc/ssl
onap/policy-jdk-debian is only used by policy/drools and policy/engine. Their corresponding Dockerfiles remove the precreated $POLICY_HOME/etc/ssl in order to proceed with their images build. In any case, the directory layout under $POLICY_HOME should be handled by its respective derived images. Miscellaneous clean up of packages in the base image. Some packages are only used in drools and not in engine, hence removed and moved to drools. The python dependencies (python 2) created issues with tooling (http and telemetry). Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3028cc9aa10bb453110c45769a1dba0315f7704f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'policy-jdk/debian-slim/src')
-rw-r--r--policy-jdk/debian-slim/src/main/docker/Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/policy-jdk/debian-slim/src/main/docker/Dockerfile b/policy-jdk/debian-slim/src/main/docker/Dockerfile
index 66f99c62..55e38279 100644
--- a/policy-jdk/debian-slim/src/main/docker/Dockerfile
+++ b/policy-jdk/debian-slim/src/main/docker/Dockerfile
@@ -32,11 +32,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 \
@@ -45,5 +42,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}