Skip to content

Commit 6130bc5

Browse files
fips enabled images
Signed-off-by: greg pereira <grpereir@redhat.com>
1 parent 2fae340 commit 6130bc5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

docker/Dockerfile.apiserver.konflux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+
FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22
ARG TARGETOS=linux
33
ARG TARGETARCH
44
ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525
CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-apiserver ./cmd/apiserver
2626

2727
# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28-
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929
WORKDIR /
3030
COPY --from=builder /opt/app-root/src/bin/batch-gateway-apiserver /app/batch-gateway-apiserver
3131
USER 1001:1001

docker/Dockerfile.gc.konflux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+
FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22
ARG TARGETOS=linux
33
ARG TARGETARCH
44
ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525
CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-gc ./cmd/batch-gc
2626

2727
# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28-
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929
WORKDIR /
3030
COPY --from=builder /opt/app-root/src/bin/batch-gateway-gc /app/batch-gateway-gc
3131
USER 1001:1001

docker/Dockerfile.processor.konflux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
1+
FROM registry.access.redhat.com/ubi9/go-toolset:1.25.8@sha256:8c5aeac74b4b60dc2e5e44f6b639186b7ec2fec8f0eb9a36d4a32dcf8e255f52 AS builder
22
ARG TARGETOS=linux
33
ARG TARGETARCH
44
ARG CGO_ENABLED=0
@@ -25,7 +25,7 @@ RUN mkdir -p bin && \
2525
CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o bin/batch-gateway-processor ./cmd/batch-processor
2626

2727
# TODO: switch base image to gcr.io/distroless/static:nonroot before release
28-
FROM registry.access.redhat.com/ubi9/ubi-micro:latest
28+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7@sha256:d91be7cea9f03a757d69ad7fcdfcd7849dba820110e7980d5e2a1f46ed06ea3b
2929
WORKDIR /
3030
COPY --from=builder /opt/app-root/src/bin/batch-gateway-processor /app/batch-gateway-processor
3131
USER 1001:1001

0 commit comments

Comments
 (0)