Skip to content

Commit

Permalink
Revert "migrate the base images to the ubi9"
Browse files Browse the repository at this point in the history
This reverts commit 761e22f.
Because of the FEDRAMP requirement we need to migrate back to the ubi8.
  • Loading branch information
petracihalova committed Oct 15, 2024
1 parent 65b9dbe commit bc87de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
############################
# STEP 1 build executable binary
############################
FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder
FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder
WORKDIR $GOPATH/src/mypackage/myapp/
COPY . .
# Fetch dependencies.
Expand All @@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 go build -o /go/bin/uhc-auth-proxy
############################
# STEP 2 build a small image
############################
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
# Copy our static executable.
COPY --from=builder /go/bin/uhc-auth-proxy /go/bin/uhc-auth-proxy
# Default port
Expand Down

0 comments on commit bc87de5

Please sign in to comment.