Skip to content

Commit a0a984a

Browse files
carloryclaude
andauthored
[CI/Build] Remove hardcoded America/Los_Angeles timezone from Dockerfiles (vllm-project#33553)
Signed-off-by: carlory <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent f1cb9b5 commit a0a984a

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

docker/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ ARG PYTHON_VERSION
9797
ENV DEBIAN_FRONTEND=noninteractive
9898

9999
# Install system dependencies including build tools
100-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
101-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
102-
&& apt-get update -y \
100+
RUN apt-get update -y \
103101
&& apt-get install -y --no-install-recommends \
104102
ccache \
105103
software-properties-common \
@@ -502,9 +500,7 @@ RUN PYTHON_VERSION_STR=$(echo ${PYTHON_VERSION} | sed 's/\.//g') && \
502500
echo "export PYTHON_VERSION_STR=${PYTHON_VERSION_STR}" >> /etc/environment
503501

504502
# Install Python and system dependencies
505-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
506-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
507-
&& apt-get update -y \
503+
RUN apt-get update -y \
508504
&& apt-get install -y --no-install-recommends \
509505
software-properties-common \
510506
curl \
@@ -713,9 +709,7 @@ ENV UV_INDEX_STRATEGY="unsafe-best-match"
713709
# Use copy mode to avoid hardlink failures with Docker cache mounts
714710
ENV UV_LINK_MODE=copy
715711

716-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
717-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
718-
&& apt-get update -y \
712+
RUN apt-get update -y \
719713
&& apt-get install -y git
720714

721715
# We can specify the standard or nightly build of PyTorch

docker/Dockerfile.nightly_torch

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ ARG PYTHON_VERSION=3.12
2020
ARG TARGETPLATFORM
2121
ENV DEBIAN_FRONTEND=noninteractive
2222
# Install Python and other dependencies
23-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
24-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
25-
&& apt-get update -y \
23+
RUN apt-get update -y \
2624
&& apt-get install -y ccache software-properties-common git curl sudo \
2725
&& for i in 1 2 3; do \
2826
add-apt-repository -y ppa:deadsnakes/ppa && break || \
@@ -172,9 +170,7 @@ RUN PYTHON_VERSION_STR=$(echo ${PYTHON_VERSION} | sed 's/\.//g') && \
172170
echo "export PYTHON_VERSION_STR=${PYTHON_VERSION_STR}" >> /etc/environment
173171

174172
# Install Python and other dependencies
175-
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
176-
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
177-
&& apt-get update -y \
173+
RUN apt-get update -y \
178174
&& apt-get install -y ccache software-properties-common git curl wget sudo vim python3-pip \
179175
&& apt-get install -y ffmpeg libsm6 libxext6 libgl1 \
180176
&& for i in 1 2 3; do \

0 commit comments

Comments
 (0)