Skip to content

Commit 6472818

Browse files
committed
fix: www-data group already exists in alpine3.18
1 parent 3a6e7d4 commit 6472818

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

7.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ENV RUNTIME_DEPS \
4848
ENV PHP_INI_DIR /usr/local/etc/php
4949

5050
# 82 is the standard uid/gid for "www-data" in Alpine
51-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
51+
RUN adduser -u 82 -D -H -S -G www-data www-data
5252

5353
# https://github.com/docker-library/php/issues/272
5454
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

7.1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ENV RUNTIME_DEPS \
4848
ENV PHP_INI_DIR /usr/local/etc/php
4949

5050
# 82 is the standard uid/gid for "www-data" in Alpine
51-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
51+
RUN adduser -u 82 -D -H -S -G www-data www-data
5252

5353
# https://github.com/docker-library/php/issues/272
5454
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

7.2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ENV RUNTIME_DEPS \
4747
ENV PHP_INI_DIR /usr/local/etc/php
4848

4949
# 82 is the standard uid/gid for "www-data" in Alpine
50-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
50+
RUN adduser -u 82 -D -H -S -G www-data www-data
5151

5252
# https://github.com/docker-library/php/issues/272
5353
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

7.3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ENV RUNTIME_DEPS \
4747
ENV PHP_INI_DIR /usr/local/etc/php
4848

4949
# 82 is the standard uid/gid for "www-data" in Alpine
50-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
50+
RUN adduser -u 82 -D -H -S -G www-data www-data
5151

5252
# https://github.com/docker-library/php/issues/272
5353
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

7.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ENV RUNTIME_DEPS \
5151
ENV PHP_INI_DIR /usr/local/etc/php
5252

5353
# 82 is the standard uid/gid for "www-data" in Alpine
54-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
54+
RUN adduser -u 82 -D -H -S -G www-data www-data
5555

5656
# https://github.com/docker-library/php/issues/272
5757
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

8.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ENV RUNTIME_DEPS \
5151
ENV PHP_INI_DIR /usr/local/etc/php
5252

5353
# 82 is the standard uid/gid for "www-data" in Alpine
54-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
54+
RUN adduser -u 82 -D -H -S -G www-data www-data
5555

5656
# https://github.com/docker-library/php/issues/272
5757
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

8.1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ENV RUNTIME_DEPS \
5151
ENV PHP_INI_DIR /usr/local/etc/php
5252

5353
# 82 is the standard uid/gid for "www-data" in Alpine
54-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
54+
RUN adduser -u 82 -D -H -S -G www-data www-data
5555

5656
# https://github.com/docker-library/php/issues/272
5757
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

8.2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ENV RUNTIME_DEPS \
5151
ENV PHP_INI_DIR /usr/local/etc/php
5252

5353
# 82 is the standard uid/gid for "www-data" in Alpine
54-
RUN addgroup -g 82 -S www-data && adduser -u 82 -D -H -S -G www-data www-data
54+
RUN adduser -u 82 -D -H -S -G www-data www-data
5555

5656
# https://github.com/docker-library/php/issues/272
5757
RUN export CFLAGS="-fstack-protector-strong -fpic -fpie -O2" \

0 commit comments

Comments
 (0)