Skip to content

Commit

Permalink
Do not create user, already exists;
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Jan 26, 2024
1 parent e0bc169 commit 8feff2e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions php-nginx/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ ENV NGINX_VERSION 1.25.3
ENV PKG_RELEASE 1

RUN set -x \
# create nginx user/group first, to be consistent throughout docker variants
&& addgroup -g 101 -S nginx \
&& adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
&& apkArch="$(cat /etc/apk/arch)" \
&& nginxPackages=" \
nginx=${NGINX_VERSION}-r${PKG_RELEASE} \
Expand Down

0 comments on commit 8feff2e

Please sign in to comment.