Skip to content

Commit

Permalink
migrate the base images to the ubi9
Browse files Browse the repository at this point in the history
  • Loading branch information
petracihalova committed Sep 24, 2024
1 parent 47de1b2 commit 0e0eefa
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/ubi8/go-toolset:latest AS builder
FROM registry.access.redhat.com/ubi9/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/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi9/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 0e0eefa

Please sign in to comment.