We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73897ec commit d3564c8Copy full SHA for d3564c8
1 file changed
build/images/training-operator/Dockerfile.rhoai
@@ -1,23 +1,4 @@
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
+FROM registry.access.redhat.com/ubi9/go-toolset:1.23 AS builder
21
22
WORKDIR /workspace
23
# Copy the Go Modules manifests
0 commit comments