Skip to content

Commit 6c17808

Browse files
authored
Update Dockerfile.temurin-8-jdk
1 parent 7f4011e commit 6c17808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/distroless/Dockerfile.temurin-8-jdk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN mkdir /staging \
1919
&& tdnf install -y --releasever=${INSTALLER_TAG} --installroot /staging zlib \
2020
&& tdnf install -y gawk shadow-utils ca-certificates tar \
2121
&& groupadd --system --gid=101 app \
22-
&& adduser --uid 101 --gid 101 --shell /bin/false --system app \
22+
&& adduser --uid 101 --gid 101 --shell /bin/false --system --create-home app \
2323
&& install -d -m 0755 -o 101 -g 101 "/staging/home/app" \
2424
&& rootOrAppRegex='^\(root\|app\):' \
2525
&& cat /etc/passwd | grep $rootOrAppRegex > "/staging/etc/passwd" \

0 commit comments

Comments
 (0)