diff --git a/builds/base/ubi9.Dockerfile b/builds/base/ubi9.Dockerfile index e97ff15..b611c66 100644 --- a/builds/base/ubi9.Dockerfile +++ b/builds/base/ubi9.Dockerfile @@ -11,6 +11,8 @@ ENV LANG C.UTF-8 # Since alpine runs as a single user, we need to create a "root" direcotry ENV HOME /root +RUN microdnf install -y shadow-utils + # Add a working group which any dynamic users can be assigned ENV WORKGROUP runwar RUN groupadd $WORKGROUP && usermod -a -G $WORKGROUP root diff --git a/builds/base/ubi9.JDK11.Dockerfile b/builds/base/ubi9.JDK11.Dockerfile index f2f5282..32b2e4d 100644 --- a/builds/base/ubi9.JDK11.Dockerfile +++ b/builds/base/ubi9.JDK11.Dockerfile @@ -11,6 +11,8 @@ ENV LANG C.UTF-8 # Since alpine runs as a single user, we need to create a "root" direcotry ENV HOME /root +RUN microdnf install -y shadow-utils + # Add a working group which any dynamic users can be assigned ENV WORKGROUP runwar RUN groupadd $WORKGROUP && usermod -a -G $WORKGROUP root diff --git a/builds/base/ubi9.JDK17.Dockerfile b/builds/base/ubi9.JDK17.Dockerfile index ac9df2f..7336aee 100644 --- a/builds/base/ubi9.JDK17.Dockerfile +++ b/builds/base/ubi9.JDK17.Dockerfile @@ -11,6 +11,8 @@ ENV LANG C.UTF-8 # Since alpine runs as a single user, we need to create a "root" direcotry ENV HOME /root +RUN microdnf install -y shadow-utils + # Add a working group which any dynamic users can be assigned ENV WORKGROUP runwar RUN groupadd $WORKGROUP && usermod -a -G $WORKGROUP root