Add a workaround for tzdata

This commit is contained in:
Yuki Okushi 2020-04-14 12:16:03 +09:00
parent 8de521cfb5
commit 4967189800
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
1 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,12 @@
FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
# This is a workaround to avoid the interaction with tzdata.
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York
RUN apt-get update
RUN apt-get install -y --no-install-recommends tzdata
RUN apt-get install -y --no-install-recommends \
ca-certificates \
g++ \
make \