Skip to content

Commit 84563f3

Browse files
konstantin-s-bogomgvisor-bot
authored andcommitted
Upgrade default Docker image.
PiperOrigin-RevId: 798372077
1 parent 49a6cc3 commit 84563f3

File tree

13 files changed

+30
-29
lines changed

13 files changed

+30
-29
lines changed

.buildkite/hooks/pre-command

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ clear_docker_containers
88
# deleted on an ongoing basis. Such partial deletion can break the cache state.
99
# Using per day cache will ensure that builds triggered on a certain day have
1010
# the full bazel remote cache to use. TTL of the cache must be >1 day.
11-
export BAZEL_REMOTE_CACHE="--remote_cache=https://storage.googleapis.com/gvisor-buildkite-bazel-cache/cache-$(date +%Y-%m-%d) --google_default_credentials"
11+
BAZEL_VERSION="$(cat images/default/bazelversion)"
12+
export BAZEL_REMOTE_CACHE="--remote_cache=https://storage.googleapis.com/gvisor-buildkite-bazel-cache/${BAZEL_VERSION}/$(date +%Y-%m-%d) --google_default_credentials"
1213

1314
if POSIXLY_CORRECT=true df --local --output=pcent,ipcent,target | grep -vE '/snap/' | grep -qE '9[4-9]%|100%'; then
1415
echo "Disk usage has reached critical level, node is bad." >&2

images/default/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
ENV DEBIAN_FRONTEND="noninteractive"
44

@@ -7,14 +7,14 @@ ENV DEBIAN_FRONTEND="noninteractive"
77
# equivalents for your distribution:
88
#-------------------------------------------------------------------------------
99
RUN apt-get update && apt-get install -y curl gnupg2 git \
10-
python-is-python3 python3 python3-distutils python3-pip \
10+
python-is-python3 python3 python3-setuptools python3-pip \
1111
build-essential crossbuild-essential-arm64 qemu-user-static \
1212
openjdk-11-jdk-headless zip unzip \
1313
apt-transport-https ca-certificates gnupg-agent \
1414
software-properties-common \
1515
pkg-config libffi-dev patch diffutils libssl-dev iptables kmod \
1616
clang crossbuild-essential-amd64 erofs-utils busybox-static libbpf-dev \
17-
iproute2 netcat libnuma-dev
17+
iproute2 netcat-openbsd libnuma-dev
1818

1919
# This package is needed to build eBPF on amd64, but not on arm64 where it
2020
# doesn't exist.
@@ -33,7 +33,7 @@ RUN add-apt-repository \
3333
RUN apt-get -y install docker-ce-cli
3434

3535
# Install gcloud.
36-
RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-410.0.0-linux-x86_64.tar.gz | \
36+
RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-535.0.0-linux-x86_64.tar.gz | \
3737
tar zxf - google-cloud-sdk && \
3838
google-cloud-sdk/install.sh --quiet && \
3939
ln -s /google-cloud-sdk/bin/gcloud /usr/bin/gcloud

images/gpu/cuda-tests-12-8/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:12.8.1-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
22

33
WORKDIR /
44
ENV PATH=$PATH:/usr/local/nvidia/bin
@@ -7,7 +7,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
77
apt-get install -y \
88
build-essential \
99
cmake \
10-
freeglut3 freeglut3-dev \
10+
freeglut3-dev \
1111
git \
1212
golang \
1313
imagemagick \

images/gpu/cuda-tests/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM nvidia/cuda:12.2.2-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.5.1-devel-ubuntu24.04
22

33
# From: https://github.com/NVIDIA/cuda-samples/releases
44
# Ideally, pick a release that matches the CUDA version of the image above.
5-
ARG CUDA_SAMPLES_VERSION=v12.2
5+
ARG CUDA_SAMPLES_VERSION=v12.5
66

77
WORKDIR /
88
COPY *.cu *.h *.sh *.go *.cc /
@@ -12,7 +12,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
1212
apt-get install -y \
1313
build-essential \
1414
cmake \
15-
freeglut3 freeglut3-dev \
15+
freeglut3-dev \
1616
git \
1717
golang \
1818
imagemagick \

images/gpu/nccl-tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:12.5.0-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
22

33
RUN apt-get update && apt-get install git -y
44

images/gpu/pytorch/Dockerfile.x86_64

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM nvidia/cuda:12.4.0-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
22

33
# Used for determining the correct pip index URL below.
4-
ENV CUDA_VERSION=12.4
4+
ENV CUDA_VERSION=12.8
55

66
ENV PYTORCH_DATASETS_DIR=/pytorch-data
77
ENV TORCH_HOME=/pytorch-home
@@ -10,25 +10,25 @@ RUN mkdir -p "$TORCH_HOME" && \
1010

1111
RUN apt-get update && \
1212
apt-get install --yes \
13-
libgl1-mesa-glx libglib2.0-0 \
13+
libgl1 libglx-mesa0 libglib2.0-0 \
1414
pkg-config \
1515
python3 \
16-
python3-distutils \
16+
python3-setuptools \
1717
python3-pip \
1818
clang \
1919
wget \
2020
vim \
2121
git
2222

2323
RUN PIP_INDEX_URL="https://download.pytorch.org/whl/cu$(echo "$CUDA_VERSION" | sed 's~\.~~g')" && \
24-
python3 -m pip install --ignore-installed \
24+
python3 -m pip install --ignore-installed --break-system-packages \
2525
boto3 \
2626
"clang~=$(clang --version | grep -oP 'clang version [.0-9]+' | cut -d' ' -f3)" \
2727
lightning \
2828
matplotlib \
2929
memory_profiler \
3030
numba && \
31-
python3 -m pip install --ignore-installed \
31+
python3 -m pip install --ignore-installed --break-system-packages \
3232
torch \
3333
torchvision \
3434
torchaudio \
@@ -62,7 +62,7 @@ RUN PYTORCH_BENCHMARKS_COMMIT=675fb8f537d302a4fef3ed2a67349209e65046ac && \
6262

6363
# Note that mobilenet_v2 does not have a requirements.txt file.
6464
RUN cd /pytorch-benchmark && \
65-
python3 -m pip install --ignore-installed \
65+
python3 -m pip install --ignore-installed --break-system-packages \
6666
-r requirements.txt \
6767
-r torchbenchmark/models/LearningToPaint/requirements.txt \
6868
-r torchbenchmark/models/fastNLP_Bert/requirements.txt \

images/gpu/stable-diffusion-xl/Dockerfile.x86_64

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
FROM nvidia/cuda:12.3.1-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes \
44
python3 \
5-
python3-distutils \
5+
python3-setuptools \
66
python3-pip \
77
clang \
88
wget \
99
vim \
1010
git \
1111
libgl1 \
1212
libglib2.0-0 \
13-
libgl1-mesa-glx \
13+
libgl1 libglx-mesa0 \
1414
golang
1515

16-
RUN python3 -m pip install --ignore-installed \
16+
RUN python3 -m pip install --ignore-installed --break-system-packages \
1717
"clang~=$(clang --version | grep -oP 'clang version [.0-9]+' | cut -d' ' -f3)" \
1818
diffusers \
1919
transformers \

images/runtimes/java21/Dockerfile.x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:24.04
22

33
RUN apt-get update && apt-get install -y \
44
autoconf \

images/runtimes/nodejs22.2.0/Dockerfile.x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:24.04
22
RUN apt-get update && apt-get install -y \
33
curl \
44
dumb-init \

images/runtimes/php8.3.7/Dockerfile.x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:24.04
22
RUN apt-get update && apt-get install -y \
33
autoconf \
44
automake \

0 commit comments

Comments
 (0)