Skip to content

Commit cf53755

Browse files
committed
Update dockerfiles
1 parent c4884f8 commit cf53755

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

php-apache-53/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

php-apache-55/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

php-apache-56/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

php-apache-70/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

php-apache-71/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

php-apache-72/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ENV COMPOSER_VERSION 1.6.5
1212
# https://github.com/wimg/PHPCompatibility/releases
1313
ENV PHP_COMPATIBILITY_VERSION 8.1.0
1414

15+
RUN usermod -u 501 www-data
16+
RUN usermod -G staff www-data
17+
1518
COPY override.ini /usr/local/etc/php/conf.d/
1619

1720
COPY . /tmp/.

0 commit comments

Comments
 (0)