From 3137f84cda604cfbc7f94ae26bb020c05e0d601a Mon Sep 17 00:00:00 2001 From: caoayu <44837611+ayuayue@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:32:28 +0800 Subject: [PATCH] edit php7 Dockerfile, fix timezone command (#1124) --- php7/7.0.33/build/php/Dockerfile | 2 +- php7/7.1.33/build/php/Dockerfile | 2 +- php7/7.2.34/build/php/Dockerfile | 2 +- php7/7.3.33/build/php/Dockerfile | 2 +- php7/7.4.33/build/php/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/php7/7.0.33/build/php/Dockerfile b/php7/7.0.33/build/php/Dockerfile index 7203576ec..622c0b79e 100644 --- a/php7/7.0.33/build/php/Dockerfile +++ b/php7/7.0.33/build/php/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x install.sh \ RUN apk --no-cache add tzdata \ && cp "/usr/share/zoneinfo/$TZ" /etc/localtime \ - && echo "$TZ" > /etc/timezone \ + && echo "$TZ" > /etc/timezone # Fix: https://github.com/docker-library/php/issues/1121 RUN apk add --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/v3.13/community/ gnu-libiconv=1.15-r3 diff --git a/php7/7.1.33/build/php/Dockerfile b/php7/7.1.33/build/php/Dockerfile index 7203576ec..622c0b79e 100644 --- a/php7/7.1.33/build/php/Dockerfile +++ b/php7/7.1.33/build/php/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x install.sh \ RUN apk --no-cache add tzdata \ && cp "/usr/share/zoneinfo/$TZ" /etc/localtime \ - && echo "$TZ" > /etc/timezone \ + && echo "$TZ" > /etc/timezone # Fix: https://github.com/docker-library/php/issues/1121 RUN apk add --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/v3.13/community/ gnu-libiconv=1.15-r3 diff --git a/php7/7.2.34/build/php/Dockerfile b/php7/7.2.34/build/php/Dockerfile index 7203576ec..622c0b79e 100644 --- a/php7/7.2.34/build/php/Dockerfile +++ b/php7/7.2.34/build/php/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x install.sh \ RUN apk --no-cache add tzdata \ && cp "/usr/share/zoneinfo/$TZ" /etc/localtime \ - && echo "$TZ" > /etc/timezone \ + && echo "$TZ" > /etc/timezone # Fix: https://github.com/docker-library/php/issues/1121 RUN apk add --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/v3.13/community/ gnu-libiconv=1.15-r3 diff --git a/php7/7.3.33/build/php/Dockerfile b/php7/7.3.33/build/php/Dockerfile index 7203576ec..622c0b79e 100644 --- a/php7/7.3.33/build/php/Dockerfile +++ b/php7/7.3.33/build/php/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x install.sh \ RUN apk --no-cache add tzdata \ && cp "/usr/share/zoneinfo/$TZ" /etc/localtime \ - && echo "$TZ" > /etc/timezone \ + && echo "$TZ" > /etc/timezone # Fix: https://github.com/docker-library/php/issues/1121 RUN apk add --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/v3.13/community/ gnu-libiconv=1.15-r3 diff --git a/php7/7.4.33/build/php/Dockerfile b/php7/7.4.33/build/php/Dockerfile index 7203576ec..622c0b79e 100644 --- a/php7/7.4.33/build/php/Dockerfile +++ b/php7/7.4.33/build/php/Dockerfile @@ -18,7 +18,7 @@ RUN chmod +x install.sh \ RUN apk --no-cache add tzdata \ && cp "/usr/share/zoneinfo/$TZ" /etc/localtime \ - && echo "$TZ" > /etc/timezone \ + && echo "$TZ" > /etc/timezone # Fix: https://github.com/docker-library/php/issues/1121 RUN apk add --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/v3.13/community/ gnu-libiconv=1.15-r3