Created
January 23, 2017 02:11
-
-
Save sidja/833eb9824ada2684773553824f28e910 to your computer and use it in GitHub Desktop.
How to change time zone in docker container ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
ENV TZ=Australia/Melbourne | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN dpkg-reconfigure --frontend noninteractive tzdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks