Update timezone config file naming
Changed the timezone configuration file name to avoid conflicts. Updated from `tzone.ini` to `zzz-tzone.ini`.
This commit is contained in:
parent
9de00a6421
commit
3bcfcc8066
@ -21,7 +21,7 @@ RUN set -eux;install-php-extensions zip
|
|||||||
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||||
RUN printf "[PHP]\ndate.timezone = \"$TZ\"\n" > /usr/local/etc/php/conf.d/tzone.ini
|
RUN printf "[PHP]\ndate.timezone = \"$TZ\"\n" > /usr/local/etc/php/conf.d/zzz-tzone.ini
|
||||||
RUN printf "[PHP]\nmemory_limit = -1\n" > /usr/local/etc/php/conf.d/zzz-memory-limit.ini
|
RUN printf "[PHP]\nmemory_limit = -1\n" > /usr/local/etc/php/conf.d/zzz-memory-limit.ini
|
||||||
|
|
||||||
COPY wait-for-it.sh /usr/local/bin/wait-for-it.sh
|
COPY wait-for-it.sh /usr/local/bin/wait-for-it.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user