Skip to content

Commit 531c4f0

Browse files
committed
Remove unneeded intermediate container
The minimal container was not removed in the move to distroless. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent c87ad40 commit 531c4f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

deployments/container/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ ARG VERSION="N/A"
4444
ARG GIT_COMMIT="unknown"
4545
RUN make PREFIX=/artifacts cmds
4646

47-
# We use the ubi9-minimal image as a reference image in removing unneeded dependencies.
48-
FROM redhat/ubi9-minimal:latest AS minimal
49-
50-
RUN rpm -qa --queryformat='^%{NAME}-\[0-9\].*\.%{ARCH}$\n' | sort -u > /tmp/package-names.minimal
51-
RUN rpm -qa | sort -u > /tmp/package-list.minimal
52-
5347
FROM nvcr.io/nvidia/distroless/go:v3.1.11-dev
5448

5549
USER 0:0

0 commit comments

Comments
 (0)