Skip to content

Commit a5cf775

Browse files
authored
Removes separate addgroup call since adduser handles it
1 parent 8d3bba8 commit a5cf775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG PHPUSER
66
ENV PHPGROUP=${PHPGROUP}
77
ENV PHPUSER=${PHPUSER}
88

9-
RUN addgroup -g 1000 ${PHPGROUP} && adduser -g ${PHPGROUP} -s /bin/sh -D ${PHPUSER}; exit 0
9+
RUN adduser -g ${PHPGROUP} -s /bin/sh -D ${PHPUSER}; exit 0
1010

1111
RUN mkdir -p /var/www/html
1212

0 commit comments

Comments
 (0)