Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.image-service
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN cd /packages && ./build.sh


# Used to build the service:
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS golang
FROM registry.access.redhat.com/ubi9/go-toolset:9.7 AS golang

USER 0

Expand All @@ -45,7 +45,7 @@ RUN ${HOME}/go/bin/go-licenses save --save_path /tmp/licenses ./...
RUN cd /app && git rev-parse --short HEAD > /commit-reference.txt

## Runtime
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:6fc28bcb6776e387d7a35a2056d9d2b985dc4e26031e98a2bd35a7137cd6fd71
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:759f5f42d9d6ce2a705e290b7fc549e2d2cd39312c4fa345f93c02e4abb8da95

ARG release=main
ARG version=latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.image-service-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS golang
FROM registry.access.redhat.com/ubi9/go-toolset:9.7 AS golang

ENV GOFLAGS=""

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.image-service-mce
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN cd /packages && ./build.sh


# Used to build the service:
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.7 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -44,7 +44,7 @@ WORKDIR /app
RUN GO111MODULE=on GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags strictfipsruntime -o assisted-image-service main.go


FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:6fc28bcb6776e387d7a35a2056d9d2b985dc4e26031e98a2bd35a7137cd6fd71
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:759f5f42d9d6ce2a705e290b7fc549e2d2cd39312c4fa345f93c02e4abb8da95
ARG release=main
ARG version=latest

Expand Down