Skip to content

Commit

Permalink
Bump OCP version and move to UBI9
Browse files Browse the repository at this point in the history
Also install packages with -y for installation without permission and use the word AS due to warning - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
  • Loading branch information
razo7 committed Dec 9, 2024
1 parent b34a30f commit a0cdc8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/openshift/origin-must-gather:4.14 as builder
FROM quay.io/openshift/origin-must-gather:4.18 AS builder

FROM registry.access.redhat.com/ubi8/ubi-minimal
RUN microdnf install tar rsync jq
FROM registry.access.redhat.com/ubi9/ubi-minimal
RUN microdnf install -y tar rsync jq

COPY --from=builder /usr/bin/oc /usr/bin/oc

Expand Down

0 comments on commit a0cdc8e

Please sign in to comment.