File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
build/images/training-operator Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 1- ARG GOLANG_IMAGE=registry.access.redhat.com/ubi9/go-toolset:1.23
2- # Go versioning workaround for lack of go-toolset for version 1.23
3- FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS golang
4-
5- FROM registry.access.redhat.com/ubi9/ubi:latest AS builder
6-
7- ARG GOLANG_VERSION=1.23.0
8-
9- # Install system dependencies
10- RUN dnf upgrade -y && dnf install -y \
11- gcc \
12- make \
13- openssl-devel \
14- && dnf clean all && rm -rf /var/cache/yum
15-
16- # Install Go
17- ENV PATH=/usr/local/go/bin:$PATH
18-
19- ARG GOLANG_DIR=/usr/lib/golang
20- COPY --from=golang ${GOLANG_DIR} /usr/local/go
1+ FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
212
223WORKDIR /workspace
234# Copy the Go Modules manifests
You can’t perform that action at this time.
0 commit comments