Created
August 4, 2020 08:44
-
-
Save grigorkh/8178a8e9229f64914188363eec2816f2 to your computer and use it in GitHub Desktop.
Fix: tzdata hangs Docker image build
This file contains 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
Step 1/5 : FROM ubuntu:20.04 | |
---> 1e4467b07108 | |
Step 2/5 : ENV TZ=Asia/Dubai | |
---> Using cache | |
---> 7f4c85bd0d3e | |
Step 3/5 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
---> Using cache | |
---> f6f784dfbad5 | |
Step 4/5 : RUN apt update | |
---> Using cache | |
---> 5b1b5617eaa5 | |
Step 5/5 : RUN apt install -y tzdata | |
---> Running in e71a917a9b6b | |
Current default time zone: 'Asia/Dubai' | |
Local time is now: Tue Aug 4 12:14:55 +04 2020. | |
Universal Time is now: Tue Aug 4 08:14:55 UTC 2020. | |
Run 'dpkg-reconfigure tzdata' if you wish to change it. | |
Removing intermediate container e71a917a9b6b | |
---> 3d29f4e8f7eb | |
Successfully built 3d29f4e8f7eb | |
Successfully tagged tzdata:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment