Skip to content

Commit 79252b0

Browse files
committed
Update Dockerfiles of other variations to accept TZ
1 parent 0a2dfd0 commit 79252b0

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/variations/cli/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ LABEL org.opencontainers.image.title="serversideup/php (cli)" \
2222
org.opencontainers.image.version="${REPOSITORY_BUILD_VERSION}" \
2323
org.opencontainers.image.licenses="GPL-3.0-or-later"
2424

25-
ENV APP_BASE_DIR=/var/www/html \
25+
ENV TZ=UTC \
26+
APP_BASE_DIR=/var/www/html \
2627
COMPOSER_ALLOW_SUPERUSER=1 \
2728
COMPOSER_HOME=/composer \
2829
COMPOSER_MAX_PARALLEL_HTTP=24 \

src/variations/fpm-apache/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ LABEL org.opencontainers.image.title="serversideup/php (fpm-apache)" \
3737
org.opencontainers.image.version="${REPOSITORY_BUILD_VERSION}" \
3838
org.opencontainers.image.licenses="GPL-3.0-or-later"
3939

40-
ENV APACHE_DOCUMENT_ROOT=/var/www/html/public \
40+
ENV TZ=UTC \
41+
APACHE_DOCUMENT_ROOT=/var/www/html/public \
4142
APACHE_HTTP_PORT="8080" \
4243
APACHE_HTTPS_PORT="8443" \
4344
APACHE_START_SERVERS="2" \

src/variations/fpm-nginx/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ LABEL org.opencontainers.image.title="serversideup/php (fpm-nginx)" \
113113
org.opencontainers.image.version="${REPOSITORY_BUILD_VERSION}" \
114114
org.opencontainers.image.licenses="GPL-3.0-or-later"
115115

116-
ENV APP_BASE_DIR=/var/www/html \
116+
ENV TZ=UTC \
117+
APP_BASE_DIR=/var/www/html \
117118
COMPOSER_ALLOW_SUPERUSER=1 \
118119
COMPOSER_HOME=/composer \
119120
COMPOSER_MAX_PARALLEL_HTTP=24 \

src/variations/fpm/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ LABEL org.opencontainers.image.title="serversideup/php (fpm)" \
2222
org.opencontainers.image.version="${REPOSITORY_BUILD_VERSION}" \
2323
org.opencontainers.image.licenses="GPL-3.0-or-later"
2424

25-
ENV APP_BASE_DIR=/var/www/html \
25+
ENV TZ=UTC \
26+
APP_BASE_DIR=/var/www/html \
2627
COMPOSER_ALLOW_SUPERUSER=1 \
2728
COMPOSER_HOME=/composer \
2829
COMPOSER_MAX_PARALLEL_HTTP=24 \

0 commit comments

Comments
 (0)