aboutsummaryrefslogtreecommitdiffstats
path: root/policy-jdk/alpine/src/main/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'policy-jdk/alpine/src/main/docker/Dockerfile')
-rw-r--r--policy-jdk/alpine/src/main/docker/Dockerfile16
1 files changed, 11 insertions, 5 deletions
diff --git a/policy-jdk/alpine/src/main/docker/Dockerfile b/policy-jdk/alpine/src/main/docker/Dockerfile
index a258a314..330e54f5 100644
--- a/policy-jdk/alpine/src/main/docker/Dockerfile
+++ b/policy-jdk/alpine/src/main/docker/Dockerfile
@@ -28,6 +28,10 @@ LABEL maintainer="Policy Team"
ENV POLICY_HOME=/opt/app/policy
+#
+# When these are done via a single "RUN", I/O errors occur sporadically,
+# thus they have been split into separate RUNs.
+#
RUN apk update \
&& apk add --no-cache \
bash \
@@ -38,16 +42,18 @@ RUN apk update \
grep \
httpie \
jq \
- maven \
- nss \
- openjdk11 \
- openssh \
procps \
py-pip \
python \
unzip \
wget \
- zip \
+ zip
+
+RUN apk add --no-cache \
+ maven
+
+RUN apk add --no-cache \
+ openjdk11 \
&& addgroup -S policy \
&& adduser -S --shell /bin/bash -G policy policy \
&& mkdir -p ${POLICY_HOME}/etc/ssl \