Skip to content

Commit

Permalink
Fix setting time zone in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdean committed Jan 1, 2024
1 parent 76c22ac commit 09ffc5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
localedef -i en_GB -c -f UTF-8 -A /usr/share/locale/locale.alias en_GB.UTF-8 && \
update-locale LANG LANGUAGE && \
ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \
dpkg-reconfigure tzdata
dpkg-reconfigure tzdata --frontend=noninteractive
ENV LANG en_GB.utf8
ARG TRIP_SERVER_VERSION=@PACKAGE_VERSION@
ARG TRIP_SERVER_FILENAME=trip-${TRIP_SERVER_VERSION}.tar.xz
Expand Down Expand Up @@ -68,7 +68,7 @@ RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
localedef -i en_GB -c -f UTF-8 -A /usr/share/locale/locale.alias en_GB.UTF-8 && \
update-locale LANG LANGUAGE && \
ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \
dpkg-reconfigure tzdata
dpkg-reconfigure tzdata --frontend=noninteractive
ENV LANG en_GB.utf8

COPY --from=build /usr/local/bin/ /usr/local/bin/
Expand Down

0 comments on commit 09ffc5b

Please sign in to comment.