aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.devcontainer/Dockerfile3
-rw-r--r--Docker/Dockerfile-Alpine3
2 files changed, 6 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index e383254dc..f51c58cc8 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -2,6 +2,9 @@ FROM alpine:3.17
ENV TZ UTC
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
+RUN apk add --no-cache tzdata && \
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
+
RUN apk add --no-cache \
apache2 php-apache2 \
php php-curl php-gmp php-intl php-mbstring php-xml php-zip \
diff --git a/Docker/Dockerfile-Alpine b/Docker/Dockerfile-Alpine
index 75afa5486..9bc74800e 100644
--- a/Docker/Dockerfile-Alpine
+++ b/Docker/Dockerfile-Alpine
@@ -2,6 +2,9 @@ FROM alpine:3.17
ENV TZ UTC
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
+RUN apk add --no-cache tzdata && \
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
+
RUN apk add --no-cache \
apache2 php-apache2 \
php php-curl php-gmp php-intl php-mbstring php-xml php-zip \