File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,7 @@ ARG PYTHON_VERSION
9797ENV 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
714710ENV 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
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ ARG PYTHON_VERSION=3.12
2020ARG TARGETPLATFORM
2121ENV 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 \
You can’t perform that action at this time.
0 commit comments