Skip to content

Commit

Permalink
Merge pull request #95 from petracihalova/migrate_to_ubi8
Browse files Browse the repository at this point in the history
Revert "migrate the base images to the ubi9"
  • Loading branch information
petracihalova authored Oct 16, 2024
2 parents 65b9dbe + bc87de5 commit b57ac4e
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 b57ac4e

Please sign in to comment.