We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a68445 commit f33e8f0Copy full SHA for f33e8f0
Dockerfile
@@ -14,6 +14,8 @@
14
#
15
# SPDX-License-Identifier: Apache-2.0
16
17
+ARG BASE_IMAGE_DOCA_FULL_RT_HOST
18
+
19
# Build the manager binary
20
FROM golang:1.24 AS builder
21
ARG TARGETOS
@@ -40,7 +42,7 @@ COPY ./ ./
40
42
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
41
43
RUN --mount=type=cache,target=/go/pkg/mod/ GO_GCFLAGS=${GCFLAGS} make build
44
-FROM nvcr.io/nvidia/doca/doca:3.1.0-full-rt-host
45
+FROM ${BASE_IMAGE_DOCA_FULL_RT_HOST:-nvcr.io/nvidia/doca/doca:3.1.0-full-rt-host}
46
47
RUN apt update && apt install -y \
48
iproute2 \
0 commit comments