Added tzdata reinstall so that dpkg-reconfigure works

This commit is contained in:
Sukalpo Mitra 2024-01-27 11:50:09 +08:00
parent 9da8e9654c
commit 88ae84339f

View File

@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime
RUN apt-get update && apt-get -y -q install --reinstall tzdata
RUN dpkg-reconfigure -f noninteractive tzdata
COPY docker/etc /etc
RUN echo "for f in \`ls /etc/bashrc.d/*\`; do . \$f; done;" >> ~/.bashrc