From 99f661020d9eefcd7ee625c5b720641588b0953d Mon Sep 17 00:00:00 2001 From: Adrian Riobo Lorenzo Date: Fri, 12 Jul 2024 10:42:15 +0200 Subject: [PATCH 1/2] fix: Fixed FROM image formats. Fix #252 Signed-off-by: Adrian Riobo Lorenzo --- oci/Containerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oci/Containerfile b/oci/Containerfile index bd65eac31..6a993c135 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -1,5 +1,6 @@ -FROM registry.access.redhat.com/ubi9/go-toolset:1.21.9-1.1717085562@sha256:d1911ff6e8b3d17175dafe00aa466e83c3ceec45903b01a7cc18e9e417781263 as builder +# go 1.21.11-2 +FROM registry.access.redhat.com/ubi9/go-toolset@sha256:b6d157c56a7348a2790fb94fe44eb336027c1e2bb722c7901b30d2e7c38d9554 as builder USER root WORKDIR /workspace @@ -13,7 +14,8 @@ RUN make build \ && curl -L ${PULUMI_URL} -o pulumicli.tar.gz \ && tar -xzvf pulumicli.tar.gz -FROM registry.access.redhat.com/ubi9/ubi +# ubi 9.4-1123.1719560047 +FROM registry.access.redhat.com/ubi9@sha256:081c96d1b1c7cd1855722d01f1ca53360510443737b1eb33284c6c4c330e537c LABEL org.opencontainers.image.authors="Adrian Riobo" From 0364820c745d53f7c336cc79b7fac988c01e9eaf Mon Sep 17 00:00:00 2001 From: Adrian Riobo Lorenzo Date: Fri, 12 Jul 2024 10:44:11 +0200 Subject: [PATCH 2/2] chore: Set Red Hat Developer as org.opencontainers.image.authors Signed-off-by: Adrian Riobo Lorenzo --- oci/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci/Containerfile b/oci/Containerfile index 6a993c135..3e80a9ab1 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -17,7 +17,7 @@ RUN make build \ # ubi 9.4-1123.1719560047 FROM registry.access.redhat.com/ubi9@sha256:081c96d1b1c7cd1855722d01f1ca53360510443737b1eb33284c6c4c330e537c -LABEL org.opencontainers.image.authors="Adrian Riobo" +LABEL org.opencontainers.image.authors="Redhat Developer" COPY --from=builder /workspace/out/mapt /workspace/pulumi/pulumi /usr/local/bin/