From c4c2221aff824ac0aae67a9a309e7103dbea6a89 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) --- apps/php7/7.0.33/build/php/Dockerfile | 2 +- apps/php7/7.1.33/build/php/Dockerfile | 2 +- apps/php7/7.2.34/build/php/Dockerfile | 2 +- apps/php7/7.3.33/build/php/Dockerfile | 2 +- apps/php7/7.4.33/build/php/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/php7/7.0.33/build/php/Dockerfile b/apps/php7/7.0.33/build/php/Dockerfile index 7203576e..622c0b79 100644 --- a/apps/php7/7.0.33/build/php/Dockerfile +++ b/apps/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/apps/php7/7.1.33/build/php/Dockerfile b/apps/php7/7.1.33/build/php/Dockerfile index 7203576e..622c0b79 100644 --- a/apps/php7/7.1.33/build/php/Dockerfile +++ b/apps/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/apps/php7/7.2.34/build/php/Dockerfile b/apps/php7/7.2.34/build/php/Dockerfile index 7203576e..622c0b79 100644 --- a/apps/php7/7.2.34/build/php/Dockerfile +++ b/apps/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/apps/php7/7.3.33/build/php/Dockerfile b/apps/php7/7.3.33/build/php/Dockerfile index 7203576e..622c0b79 100644 --- a/apps/php7/7.3.33/build/php/Dockerfile +++ b/apps/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/apps/php7/7.4.33/build/php/Dockerfile b/apps/php7/7.4.33/build/php/Dockerfile index 7203576e..622c0b79 100644 --- a/apps/php7/7.4.33/build/php/Dockerfile +++ b/apps/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