Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(base): upgrade to UBI9, golang 1.22.7 #9

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 5 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG builder_version=8.10
ARG runner_version=8.10
ARG goversion=go1.22.6
ARG builder_version=9.4
ARG runner_version=9.4
ARG goversion=go1.22.7

FROM registry.access.redhat.com/ubi8/ubi:$builder_version AS builder
FROM registry.access.redhat.com/ubi9/ubi:$builder_version AS builder
ARG goversion
COPY . .
RUN dnf install -y go \
&& go install golang.org/dl/$goversion@latest \
&& ~/go/bin/$goversion download \
&& ~/go/bin/$goversion build -a -v -x .

FROM registry.access.redhat.com/ubi8/ubi-minimal:$runner_version
FROM registry.access.redhat.com/ubi9/ubi-minimal:$runner_version
COPY --from=builder ./oauth-proxy /usr/bin/oauth-proxy
ENTRYPOINT ["/usr/bin/oauth-proxy"]