From f77d0a91298e4e4ec14991366b5e439824919d5d Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 17 Jan 2020 10:14:40 -0500 Subject: Update Dockerfiles for java11 in policy-models Also modified docker build scripts so they work with SNAPSHOT or release versions of the tarballs. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn Change-Id: Ib5b8c0b83d7736180ab213b0b67d457eab7ee48e --- .../src/main/package/docker/Dockerfile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile') diff --git a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile index 51e7eaa6f..b70844e65 100644 --- a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile +++ b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile @@ -23,7 +23,7 @@ # Docker file to build an image that runs the PDP simulator on Java 8 in alpine # -FROM onap/policy-common-alpine:1.4.0 +FROM onap/policy-jre-alpine LABEL maintainer="Policy Team" @@ -32,23 +32,6 @@ ARG POLICY_LOGS=/var/log/onap/policy/pdp-sim ENV POLICY_HOME=/opt/app/policy ENV POLICY_LOGS=${POLICY_LOGS} -RUN apk add --no-cache --update \ - bash \ - nss \ - procps \ - coreutils \ - findutils \ - grep \ - zip \ - unzip \ - curl \ - wget \ - openssh \ - iproute2 \ - iputils \ - vim \ - openjdk8 - # Create PDP simulator user and group # Add simulator-specific directories and set ownership as the simulator user RUN mkdir -p ${POLICY_HOME}/pdp-sim \ -- cgit 1.2.3-korg