Skip to content

Instantly share code, notes, and snippets.

@grigorkh
Created August 4, 2020 08:24
Show Gist options
  • Save grigorkh/5fa84d016fa34b7eb46883a92402dcaf to your computer and use it in GitHub Desktop.
Save grigorkh/5fa84d016fa34b7eb46883a92402dcaf to your computer and use it in GitHub Desktop.
Fix: tzdata hangs Docker image build
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