File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
build/dockerfiles/intermediate Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 99 type : choice
1010 options :
1111 - " 1.20"
12+ - " 1.20.14"
1213 - " 1.21"
14+ - " 1.21.13"
1315 - " 1.22"
16+ - " 1.22.12"
1417 - " 1.23"
18+ - " 1.23.7"
1519 default : " 1.21"
1620 RUST_VERSION :
1721 description : " Rust toolchain version"
Original file line number Diff line number Diff line change 11ARG CUDA_VERSION=11.7.1
2- ARG GO_VERSION=1.21
2+ ARG GO_VERSION=1.22.12
33ARG RUST_VERSION=nightly-2023-12-03
44ARG CARGO_CHEF_TAG=0.1.41
55
@@ -36,7 +36,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
3636 else \
3737 echo "Unsupported architecture" ; exit 1; \
3838 fi
39- RUN wget https://go.dev/dl/go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz
40- RUN tar -C /usr/local -xzf go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz
41- RUN rm go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz && rm /tmp/arch
39+ RUN wget https://go.dev/dl/go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz
40+ RUN tar -C /usr/local -xzf go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz
41+ RUN rm go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz && rm /tmp/arch
4242ENV PATH="/usr/local/go/bin:${PATH}"
Original file line number Diff line number Diff line change 1- ARG GO_VERSION=1.21
1+ ARG GO_VERSION=1.22.12
22ARG RUST_VERSION=nightly-2023-12-03
33ARG CARGO_CHEF_TAG=0.1.41
44
@@ -32,7 +32,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
3232 else \
3333 echo "Unsupported architecture" ; exit 1; \
3434 fi
35- RUN wget https://go.dev/dl/go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz
36- RUN tar -C /usr/local -xzf go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz
37- RUN rm go${GO_VERSION}.1. linux-$(cat /tmp/arch).tar.gz && rm /tmp/arch
35+ RUN wget https://go.dev/dl/go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz
36+ RUN tar -C /usr/local -xzf go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz
37+ RUN rm go${GO_VERSION}.linux-$(cat /tmp/arch).tar.gz && rm /tmp/arch
3838ENV PATH="/usr/local/go/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments