summaryrefslogtreecommitdiffstats
path: root/policy-jre/alpine/src/main
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-09-10 10:46:21 -0400
committerJim Hahn <jrh3@att.com>2020-09-14 11:55:29 -0400
commit031c418021b4d2231e8ecb579aea22eed569cf69 (patch)
treeb8cf0526d5df18f281460eb837ef7b878dbce2c1 /policy-jre/alpine/src/main
parent3143e0d22e06d9ff27a0c7391677d8586e9ef7f7 (diff)
Update alpine images for jdk112.1.1
Updated the docker images to alpine 3.12.0 so that a newer version of openjdk11 would be pulled in. Modified the jdk image to download maven via curl rather than installing it via apk so-as to prevent it from installing java8 as a dependency. Issue-ID: POLICY-2819 Change-Id: Iba4e2448b826ce6abb5df506228c99b9a3676495 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-jre/alpine/src/main')
-rw-r--r--policy-jre/alpine/src/main/docker/Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/policy-jre/alpine/src/main/docker/Dockerfile b/policy-jre/alpine/src/main/docker/Dockerfile
index 5d986f1c..8fd97105 100644
--- a/policy-jre/alpine/src/main/docker/Dockerfile
+++ b/policy-jre/alpine/src/main/docker/Dockerfile
@@ -23,7 +23,7 @@
# $JAVA_HOME is set to /usr/lib/jvm/java-11-openjdk
# more details at https://hub.docker.com/_/openjdk
-FROM alpine:3.11.3
+FROM alpine:3.12.0
LABEL maintainer="Policy Team"
@@ -45,9 +45,7 @@ RUN apk update \
procps \
unzip \
wget \
- zip
-
-RUN apk add --no-cache \
+ zip \
openjdk11-jre \
&& addgroup -S policy \
&& adduser -S --shell /bin/bash -G policy policy \