Add timezone configuration
This commit is contained in:
@ -5,12 +5,18 @@ ARG HTTPS_PROXY=
|
||||
ARG http_proxy=
|
||||
ARG https_proxy=
|
||||
ARG FDROIDSERVER_VERSION=1.0.10
|
||||
ARG TIMEZONE=Europe/Paris
|
||||
|
||||
RUN apk add --no-cache \
|
||||
python3 build-base freetype-dev libffi-dev \
|
||||
libpng-dev py3-setuptools python3-dev libxml2-dev \
|
||||
libxslt-dev openssl-dev jpeg-dev java-common \
|
||||
bash supervisor openssh inotify-tools gettext openjdk8 fastjar caddy
|
||||
bash supervisor openssh inotify-tools gettext \
|
||||
openjdk8 fastjar caddy tzdata
|
||||
|
||||
RUN cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
|
||||
&& echo "${TIMEZONE}" > /etc/timezone \
|
||||
&& apk del tzdata
|
||||
|
||||
RUN ln -s /usr/bin/fastjar /usr/bin/jar
|
||||
RUN ln -s /usr/include/libxml2 /usr/include/libxml
|
||||
|
Reference in New Issue
Block a user