Skip to content
Snippets Groups Projects
Commit fec4a5bd 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 9411c8d4
Branches
Tags
No related merge requests found
#FROM sharelatex/sharelatex:v0.6.3 #FROM sharelatex/sharelatex:v0.6.3
FROM dtucompute/sharelatex-enote-base:v1 FROM dtucompute/sharelatex-enote-base:v1
LABEL github="https://github.com/dtu-compute/dtu-enote-getpdf"
LABEL version="2018"
LABEL description="This Dockerfile builds the container \
for the sharelatex instance."
ARG TZ=Europe/Copenhagen
# Set timezone
RUN sudo cp /usr/share/zoneinfo/$TZ /etc/localtime
RUN sudo bash -l -c 'echo "${TZ}" > /etc/timezone'
COPY *.sh / COPY *.sh /
RUN /config1.sh RUN /config1.sh
RUN /config2.sh RUN /config2.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment