Skip to content

Commit 9b3ba92

Browse files
authored
NETOBSERV-2550 Use ubi-minimal (#443)
* use ubi minimal downstream * remove bash and uname
1 parent ff7db67 commit 9b3ba92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile.downstream

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ RUN USER=netobserv VERSION="$BUILDVERSION" IMAGE="$IMAGE" AGENT_IMAGE="$AGENT_IM
3535
# Prepare output dir
3636
RUN mkdir -p output
3737

38-
# Create final image from ubi + built binary and command
39-
FROM registry.access.redhat.com/ubi9/ubi:9.7-1764794285
38+
# Create final image from ubi-minimal + built binary and command
39+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7-1768783948
4040
ARG BUILDVERSION
4141
ARG BUILDVERSION_Y
4242

@@ -46,7 +46,6 @@ COPY --from=builder /opt/app-root/build .
4646
COPY --from=builder --chown=65532:65532 /opt/app-root/output /output
4747
COPY LICENSE /licenses/
4848
COPY README.downstream ./README
49-
5049
COPY --from=ose-cli /usr/bin/kubectl /usr/bin/kubectl
5150
COPY --from=ose-cli /usr/bin/oc /usr/bin/oc
5251

0 commit comments

Comments
 (0)