Skip to content

Commit 66d1e20

Browse files
konstantin-s-bogomgvisor-bot
authored andcommitted
Upgrade default Docker image.
PiperOrigin-RevId: 798372077
1 parent 376319f commit 66d1e20

File tree

13 files changed

+37
-27
lines changed

13 files changed

+37
-27
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: 3 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 \
@@ -28,6 +28,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
2828
xdotool \
2929
xvfb \
3030
zlib1g zlib1g-dev \
31+
cuda-cccl-devel \
3132
&& apt -y purge 'golang*'
3233

3334
RUN git clone --depth=1 --branch=v12.8 --single-branch \

images/gpu/cuda-tests/Dockerfile

Lines changed: 4 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 \
@@ -31,6 +31,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
3131
xdotool \
3232
xvfb \
3333
zlib1g zlib1g-dev \
34+
cuda-cccl-devel \
3435
&& \
3536
chmod 555 /*.sh && \
3637
git clone --depth=1 --branch="$CUDA_SAMPLES_VERSION" --single-branch \

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: 9 additions & 4 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,16 +10,21 @@ 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 \
18+
python3-venv \
1819
clang \
1920
wget \
2021
vim \
2122
git
2223

24+
ENV VIRTUAL_ENV=/opt/venv
25+
RUN python3 -m venv $VIRTUAL_ENV
26+
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
27+
2328
RUN PIP_INDEX_URL="https://download.pytorch.org/whl/cu$(echo "$CUDA_VERSION" | sed 's~\.~~g')" && \
2429
python3 -m pip install --ignore-installed \
2530
boto3 \

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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:24.04
22
RUN apt-get update && apt-get install -y \
33
curl \
44
dumb-init \
55
g++ \
66
make \
7-
python3.10
7+
python3
8+
9+
RUN ln -s /usr/bin/python3 /usr/bin/python
810

911
WORKDIR /root
1012
ARG VERSION=v22.2.0

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)