Skip to content

Commit

Permalink
Ensure tools images use UTC time, same as the k8s cluster.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops committed Apr 23, 2024
1 parent 5bea777 commit 306d209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hmpps-devops-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV \
RUN apt-get clean && apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -qy locales tzdata apt-utils apt-transport-https lsb-release gnupg software-properties-common build-essential vim jq zsh groff git curl wget zip unzip httpie dnsutils apache2-utils \
&& locale-gen en_GB.UTF-8 \
&& ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime \
&& ln -fs /usr/share/zoneinfo/UTC /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /.cache/*
Expand Down
2 changes: 1 addition & 1 deletion hmpps-mysql-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:20.04
RUN apt-get clean && apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -qy locales tzdata unzip curl ca-certificates mysql-client \
&& locale-gen en_GB.UTF-8 \
&& ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime \
&& ln -fs /usr/share/zoneinfo/UTC /etc/localtime \
&& dpkg-reconfigure -f noninteractive tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /.cache/*
Expand Down

0 comments on commit 306d209

Please sign in to comment.