Added timezone configration

This commit is contained in:
Aditya Prima 2023-12-01 22:03:55 +07:00
parent 8468992ec0
commit a7f99916b9
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ ARG S6_VERSION=3.1.5.0
ARG UBUNTU_MIRROR=http://repo.ugm.ac.id/ubuntu
ARG SECURITY_MIRROR=http://security.ubuntu.com/ubuntu
ENV DEBIAN_FRONTEND noninteractive
# ADJUST LOCAL TIME
ENV TZ Asia/Jakarta
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN touch /etc/apt/sources.list
RUN echo "deb ${UBUNTU_MIRROR}/ ${UBUNTU_VERSION} main restricted universe multiverse" > /etc/apt/sources.list
RUN echo "deb ${UBUNTU_MIRROR}/ ${UBUNTU_VERSION}-updates main restricted universe multiverse" >> /etc/apt/sources.list