File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,18 @@ ENV CONDA_AUTO_ACTIVATE_BASE=false
7474RUN mkdir -p ${CODE_PATH}
7575WORKDIR ${CODE_PATH}
7676
77+ # # Setup tzdata, update package index, upgrade packages and install needed software
78+ RUN truncate -s0 /tmp/preseed.cfg && \
79+ (echo "tzdata tzdata/Areas select America" >> /tmp/preseed.cfg) && \
80+ (echo "tzdata tzdata/Zones/America select Los_Angeles" >> /tmp/preseed.cfg) && \
81+ debconf-set-selections /tmp/preseed.cfg && \
82+ rm -f /etc/timezone /etc/localtime && \
83+ apt-get update && \
84+ DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
85+ apt-get install -y tzdata
86+ # # cleanup of files from setup
87+ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
88+
7789# Install pre-dependencies
7890RUN apt-get update -y
7991RUN apt-get install wget -y
You can’t perform that action at this time.
0 commit comments