Skip to content

Commit 714cd78

Browse files
refactor: set timezone of container to UTC
Today the timezone of the container is set to America/Los_Angeles, this is confusing especially for logging purposes. This change does set the timezone to Etc/UTC which is typically used within container environments. Signed-off-by: Roger Meier <r.meier@siemens.com>
1 parent 0ca3b8e commit 714cd78

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ ARG TARGETPLATFORM
1515
ENV DEBIAN_FRONTEND=noninteractive
1616

1717
# Install minimal dependencies and uv
18-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
19-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
20-
&& apt-get update -y \
18+
RUN apt-get update -y \
2119
&& apt-get install -y ccache git curl wget sudo \
2220
&& curl -LsSf https://astral.sh/uv/install.sh | sh
2321

@@ -174,9 +172,7 @@ RUN PYTHON_VERSION_STR=$(echo ${PYTHON_VERSION} | sed 's/\.//g') && \
174172
echo "export PYTHON_VERSION_STR=${PYTHON_VERSION_STR}" >> /etc/environment
175173

176174
# Install minimal dependencies and uv
177-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
178-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
179-
&& apt-get update -y \
175+
RUN apt-get update -y \
180176
&& apt-get install -y ccache git curl wget sudo vim \
181177
&& apt-get install -y ffmpeg libsm6 libxext6 libgl1 libibverbs-dev \
182178
&& curl -LsSf https://astral.sh/uv/install.sh | sh

0 commit comments

Comments
 (0)