summaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
Diffstat (limited to 'packages/docker')
-rw-r--r--packages/docker/src/main/docker/Dockerfile14
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 691fc665..25db853d 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -18,7 +18,7 @@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
#-------------------------------------------------------------------------------
-FROM onap/policy-jdk-alpine:2.2.1
+FROM onap/policy-jdk-alpine:2.3.0
LABEL maintainer="Policy Team"
@@ -42,15 +42,11 @@ ENV MVN_RELEASE_REPO_URL $MVN_RELEASE_REPO_URL
ENV http_proxy $http_proxy
RUN apk update && \
- apk add --no-cache python3 \
- mariadb-client py3-pip \
- file dpkg httpie \
+ apk add --no-cache mariadb-client \
+ file \
net-tools netcat-openbsd sudo less vim openssl \
- && update-alternatives --install /usr/bin/python python /usr/bin/python3 0 \
- && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \
- && pip install --no-cache-dir --upgrade setuptools http-prompt \
- && pip uninstall -y httpie \
- && pip install --no-cache-dir httpie
+ && python3 -m pip install --no-cache-dir --upgrade setuptools http-prompt \
+ && python3 -m pip install --no-cache-dir httpie
RUN mkdir -p $POLICY_CONFIG $POLICY_LOGS $POLICY_INSTALL_INIT && \
chown -R policy:policy $POLICY_HOME $POLICY_LOGS $POLICY_INSTALL