Skip to content

Commit a9c721e

Browse files
KPostOfficeChristianZaccaria
authored andcommitted
CARRY: allow location of golang to be specified
Signed-off-by: Kevin <[email protected]>
1 parent 5471c1c commit a9c721e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.rhoai

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ RUN dnf upgrade -y && dnf install -y \
1616
# Install Go
1717
ENV PATH=/usr/local/go/bin:$PATH
1818

19-
COPY --from=golang /usr/lib/golang /usr/local/go
19+
ARG GOLANG_DIR=/usr/lib/golang
20+
COPY --from=golang ${GOLANG_DIR} /usr/local/go
2021

2122
WORKDIR /workspace
2223

0 commit comments

Comments
 (0)