You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# BEGIN -- workaround lack of go-toolset for golang 1.23
5
-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23@sha256:0a070e4a8f2698b6aba3630a49eb995ff1b0a182d0c5fa264888acf9d535f384 AS golang
6
-
7
-
FROM registry.access.redhat.com/ubi8/ubi@sha256:3e6410626323e6f11af16b28b8e73faa4799fe0dbdb4b1cfbf6f029c34b038f3 AS builder
8
-
ARG GOLANG_VERSION=1.23.0
9
-
10
-
# Install system dependencies
11
-
RUN dnf upgrade -y && dnf install -y \
12
-
gcc \
13
-
make \
14
-
openssl-devel \
15
-
git \
16
-
&& dnf clean all && rm -rf /var/cache/yum
17
-
18
-
# Install Go
19
-
ENV PATH=/usr/local/go/bin:$PATH
20
-
21
-
COPY --from=golang /usr/lib/golang /usr/local/go
22
-
# End of Go versioning workaround
1
+
FROM registry.access.redhat.com/ubi9/go-toolset:1.23@sha256:8a634d63713a073d7a1e086a322e57b148eef9620834fc8266df63d9294dff1b AS builder
0 commit comments