Skip to content

Commit d92caee

Browse files
authored
Merge pull request NVIDIA#8 from maxamillion/container-builds
fix: add USER root to Hummingbird builder stages for dnf access
2 parents a49ed6f + 3b22142 commit d92caee

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎deploy/docker/Dockerfile.ci‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Rebuild triggered automatically when mise.toml or this file changes
88

99
FROM quay.io/hummingbird/core-runtime:latest-builder
10+
USER root
1011

1112
ARG DOCKER_VERSION=29.3.1
1213
ARG BUILDX_VERSION=v0.32.1

‎deploy/docker/Dockerfile.images‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ARG NVIDIA_CONTAINER_TOOLKIT_VERSION=1.18.2-1
2525
# Shared Rust build stages
2626
# ---------------------------------------------------------------------------
2727
FROM --platform=$BUILDPLATFORM quay.io/hummingbird/rust:latest-builder AS rust-builder-base
28+
USER root
2829
ARG TARGETARCH
2930
ARG BUILDARCH
3031
ARG CARGO_TARGET_CACHE_SCOPE=default
@@ -201,6 +202,7 @@ RUN curl -fsSL "https://get.helm.sh/helm-${HELM_VERSION}-linux-${TARGETARCH}.tar
201202
chmod +x /tmp/helm
202203

203204
FROM quay.io/hummingbird/core-runtime:latest-builder AS nvidia-container-toolkit
205+
USER root
204206
ARG NVIDIA_CONTAINER_TOOLKIT_VERSION
205207

206208
RUN curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo \
@@ -213,6 +215,7 @@ RUN curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-co
213215
# Final cluster image
214216
# ---------------------------------------------------------------------------
215217
FROM quay.io/hummingbird/core-runtime:latest-builder AS cluster
218+
USER root
216219

217220
RUN dnf install -y \
218221
ca-certificates \

‎examples/bring-your-own-container/Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# (--forward 8080 on the CLI) to reach it from your local machine.
77

88
FROM quay.io/hummingbird/python:3.13-builder
9+
USER root
910

1011
# System tools useful for sandbox networking and debugging.
1112
# iproute2: required for network namespace management (ip netns, veth pairs)

0 commit comments

Comments
 (0)