Created
August 4, 2020 08:24
-
-
Save grigorkh/5fa84d016fa34b7eb46883a92402dcaf 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
FROM ubuntu:20.04 | |
ENV TZ=Asia/Dubai | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN apt update | |
RUN apt install -y tzdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment