aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-12-16 15:42:38 -0500
committerTaka Cho <takamune.cho@att.com>2020-12-16 15:43:48 -0500
commitfd42f6f2ffbf05010414ffa59fc727cd064bfefb (patch)
treec3d661ab70f60d6de7fc5ca79a94a0fe13909c0f
parent2963e2b6feff871d799818714df1750c97155a94 (diff)
remove all GPL-3.0 and plus license package
change to /bin/sh for policy user Issue-ID: POLICY-2847 Change-Id: Ie2c88b3e15ab4ca2bf5e6d928f0f9c40c0688c4b Signed-off-by: Taka Cho <takamune.cho@att.com>
-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}