Skip to content

Commit 4394d04

Browse files
authored
Set the local time to Asia/Manila
1 parent 51ed939 commit 4394d04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ RUN apt-get update && apt-get install -y \
2020
# Clear cache
2121
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
2222

23+
RUN rm -f /etc/localtime
24+
RUN ln -s /usr/share/zoneinfo/Asia/Manila /etc/localtime
25+
2326
# Install extensions
2427
RUN docker-php-ext-install pdo_mysql pdo_pgsql mbstring zip exif pcntl
2528
RUN docker-php-ext-configure gd --with-gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/

0 commit comments

Comments
 (0)