Skip to content

Commit d2a00b6

Browse files
committed
registry-proxy.engineering.redhat.com isn't available to codeflare CI
1 parent 65b8f4a commit d2a00b6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Build the manager binary
2-
FROM registry-proxy.engineering.redhat.com/rh-osbs/openshift-golang-builder:v1.23@sha256:ca0c771ecd4f606986253f747e2773fe2960a6b5e8e7a52f6a4797b173ac7f56 AS golang
2+
3+
# BEGIN -- workaround lack of go-toolset for golang 1.23
4+
ARG GOLANG_IMAGE=golang:1.21
5+
FROM ${GOLANG_IMAGE} AS golang
36

47
FROM registry.redhat.io/ubi8/ubi@sha256:fd3bf22d0593e2ed26a1c74ce161c52295711a67de677b5938c87704237e49b0 AS builder
58
ARG GOLANG_VERSION=1.23.0
@@ -15,7 +18,7 @@ RUN dnf upgrade -y && dnf install -y \
1518
# Install Go
1619
ENV PATH=/usr/local/go/bin:$PATH
1720

18-
COPY --from=golang /usr/lib/golang /usr/local/go
21+
COPY --from=golang /usr/local/go /usr/local/go
1922
# End of Go versioning workaround
2023

2124
WORKDIR /workspace

0 commit comments

Comments
 (0)