aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--policy-jdk/alpine/src/main/docker/Dockerfile2
-rw-r--r--policy-jre/alpine/src/main/docker/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/policy-jdk/alpine/src/main/docker/Dockerfile b/policy-jdk/alpine/src/main/docker/Dockerfile
index 9f70324a..2f64d8ed 100644
--- a/policy-jdk/alpine/src/main/docker/Dockerfile
+++ b/policy-jdk/alpine/src/main/docker/Dockerfile
@@ -50,6 +50,6 @@ RUN apk update \
&& ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn \
&& rm -f /tmp/apache-maven-3.6.3-bin.tar.gz \
&& addgroup -S policy \
- && adduser -S --shell /bin/bash -G policy policy \
+ && adduser -S --shell /bin/sh -G policy policy \
&& mkdir -p ${POLICY_HOME}/ \
&& chown policy:policy ${POLICY_HOME}
diff --git a/policy-jre/alpine/src/main/docker/Dockerfile b/policy-jre/alpine/src/main/docker/Dockerfile
index f9ba23dc..bf905368 100644
--- a/policy-jre/alpine/src/main/docker/Dockerfile
+++ b/policy-jre/alpine/src/main/docker/Dockerfile
@@ -43,6 +43,6 @@ RUN apk update \
zip \
openjdk11-jre \
&& addgroup -S policy \
- && adduser -S --shell /bin/bash -G policy policy \
+ && adduser -S --shell /bin/sh -G policy policy \
&& mkdir -p ${POLICY_HOME}/ \
&& chown policy:policy ${POLICY_HOME}