Skip to content

Commit 499d7fe

Browse files
authored
Merge pull request #1596 from zregvart/pr/ubi-9.4
Upgrade to UBI 9.4
2 parents 2361725 + d535ee0 commit 499d7fe

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN go list --mod=readonly -f '{{.Version}}' -m github.com/sigstore/cosign/v2 |
3737

3838
## Downloads
3939

40-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3@sha256:bc552efb4966aaa44b02532be3168ac1ff18e2af299d0fe89502a1d9fabafbc5 AS download
40+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3 AS download
4141

4242
ARG TARGETOS
4343
ARG TARGETARCH
@@ -54,7 +54,7 @@ RUN COSIGN_VERSION=$(cat /download/cosign_version.txt) && \
5454
mv "cosign-${TARGETOS}-${TARGETARCH}" cosign && \
5555
chmod +x cosign
5656

57-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3@sha256:582e18f13291d7c686ec4e6e92d20b24c62ae0fc72767c46f30a69b1a6198055
57+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3
5858

5959
ARG TARGETOS
6060
ARG TARGETARCH

Dockerfile.dist

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
# See https://source.redhat.com/groups/public/teamnado/wiki/brew_registry for how to get your own pull secret
2727
# See our Konflux pull secret at https://console.redhat.com/preview/application-pipeline/secrets
2828

29-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:4fe910174caaaae09ff75b6f1b1c2f4460fd9acfe38ec778a818a54de7f31afc AS build
29+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3 AS build
3030

3131
ARG BUILD_LIST="darwin_amd64 darwin_arm64 linux_amd64 linux_arm64 linux_ppc64le linux_s390x windows_amd64"
3232
ARG TARGETOS
3333
ARG TARGETARCH
3434

35+
RUN microdnf -y --nodocs --setopt=keepcache=0 install golang git-core
36+
3537
WORKDIR /build
3638

3739
# Copy just the mod file for better layer caching when building locally
@@ -48,7 +50,7 @@ RUN go list --mod=readonly -f '{{.Version}}' -m github.com/sigstore/cosign/v2 |
4850

4951
## Downloads
5052

51-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3@sha256:bc552efb4966aaa44b02532be3168ac1ff18e2af299d0fe89502a1d9fabafbc5 AS download
53+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3 AS download
5254

5355
ARG TARGETOS
5456
ARG TARGETARCH
@@ -67,7 +69,7 @@ RUN COSIGN_VERSION=$(cat /download/cosign_version.txt) && \
6769

6870
## Final image
6971

70-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3@sha256:bc552efb4966aaa44b02532be3168ac1ff18e2af299d0fe89502a1d9fabafbc5
72+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4@sha256:2636170dc55a0931d013014a72ae26c0c2521d4b61a28354b3e2e5369fa335a3
7173

7274
ARG TARGETOS
7375
ARG TARGETARCH

0 commit comments

Comments
 (0)