Skip to content
Snippets Groups Projects
Commit 9aa00cb6 authored by Iain Bryson's avatar Iain Bryson
Browse files

Use TZ Dockerfile argument to set the time zone. For...

Use TZ Dockerfile argument to set the time zone.  For https://github.com/dtu-compute/dtu-enote/issues/62
parent 8bc50fbd
No related branches found
No related tags found
No related merge requests found
FROM dtucompute/sharelatex-enote:v2
LABEL github="https://github.com/dtu-compute/dtu-enote-getpdf"
LABEL version="2018"
LABEL description="This Dockerfile builds the container \
for the get-pdf project."
ARG TZ=Europe/Copenhagen
# Set timezone
RUN sudo cp /usr/share/zoneinfo/$TZ /etc/localtime
RUN sudo bash -l -c 'echo "${TZ}" > /etc/timezone'
RUN rm -rf /etc/service/* /etc/my_init.d/*
RUN ln -s /bin/bash /usr/bin/bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment