[Docker] Remove hardcoded America/Los_Angeles timezone, default to UTC (#18121)
This commit is contained in:
+1
-5
@@ -60,11 +60,8 @@ RUN --mount=type=cache,target=/var/cache/apt,id=base-apt \
|
|||||||
|
|
||||||
# Install system dependencies (organized by category for better caching)
|
# Install system dependencies (organized by category for better caching)
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,id=base-apt \
|
RUN --mount=type=cache,target=/var/cache/apt,id=base-apt \
|
||||||
echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
|
|
||||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
|
||||||
# Core system utilities
|
# Core system utilities
|
||||||
tzdata \
|
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
netcat-openbsd \
|
netcat-openbsd \
|
||||||
@@ -494,7 +491,6 @@ RUN --mount=type=cache,target=/var/cache/apt,id=runtime-apt \
|
|||||||
python3.12-dev \
|
python3.12-dev \
|
||||||
wget \
|
wget \
|
||||||
# Core system utilities
|
# Core system utilities
|
||||||
tzdata \
|
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
netcat-openbsd \
|
netcat-openbsd \
|
||||||
curl \
|
curl \
|
||||||
|
|||||||
@@ -16,9 +16,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|||||||
|
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
|
RUN apt update -y \
|
||||||
&& echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections \
|
|
||||||
&& apt update -y \
|
|
||||||
&& apt install -y curl \
|
&& apt install -y curl \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt clean
|
&& apt clean
|
||||||
|
|||||||
Reference in New Issue
Block a user