Skip to content

Commit 5e36355

Browse files
author
Andrew Martlew
committed
- Escape timezone
1 parent 3a1f902 commit 5e36355

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM uqlibrary/docker-base:latest
22

3-
ENV TIMEZONE Australia/Brisbane
4-
53
RUN rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
64

75
RUN \
@@ -38,7 +36,7 @@ COPY etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf
3836
COPY opt/php-fpm.sh /opt/php-fpm.sh
3937
RUN chmod +x /opt/php-fpm.sh
4038

41-
RUN sed -i "s/;date.timezone =.*/date.timezone = $TIMEZONE/" /etc/php.ini && \
39+
RUN sed -i "s/;date.timezone =.*/date.timezone = Australia\/Brisbane/" /etc/php.ini && \
4240
sed -i "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/" /etc/php.ini && \
4341
sed -i "s/display_errors = Off/display_errors = stderr/" /etc/php.ini && \
4442
sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 30M/" /etc/php.ini && \

0 commit comments

Comments
 (0)