File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ COPY ./ ./
3939# RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/maintenance-manager/main.go
4040RUN --mount=type=cache,target=/go/pkg/mod/ GO_GCFLAGS=${GCFLAGS} make build-manager
4141
42- FROM nvcr.io/nvidia/doca/doca:2.10.0 -full-rt-host
42+ FROM nvcr.io/nvidia/doca/doca:2.9.2 -full-rt-host
4343
4444ARG TARGETARCH
4545ENV MFT_VERSION=4.29.0-131
@@ -57,6 +57,9 @@ WORKDIR /
5757COPY --from=builder /workspace/build/manager .
5858USER 65532:65532
5959
60+ # Copy sources to the container
61+ ADD . /workspace
62+
6063ENTRYPOINT ["/manager" ]
6164
6265LABEL org.opencontainers.image.source=https://nvcr.io/nvidia/cloud-native/nic-configuration-operator
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ COPY ./ ./
2222# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
2323RUN --mount=type=cache,target=/go/pkg/mod/ GO_GCFLAGS=${GCFLAGS} make build-daemon
2424
25- FROM nvcr.io/nvidia/doca/doca:2.10.0 -full-rt-host
25+ FROM nvcr.io/nvidia/doca/doca:2.9.2 -full-rt-host
2626
2727ARG TARGETARCH
2828ENV MFT_VERSION=4.29.0-131
@@ -48,6 +48,9 @@ RUN case ${TARGETARCH} in \
4848WORKDIR /
4949COPY --from=builder /workspace/build/nic-configuration-daemon .
5050
51+ # Copy sources to the container
52+ ADD . /workspace
53+
5154ENTRYPOINT ["/nic-configuration-daemon"]
5255
5356LABEL org.opencontainers.image.source=https://nvcr.io/nvidia/cloud-native/nic-configuration-daemon
You can’t perform that action at this time.
0 commit comments