Skip to content

Commit f3ddf43

Browse files
authored
feat: use specific go version for builder images (#1634)
1 parent a2582dc commit f3ddf43

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/intermediate-docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
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"

build/dockerfiles/intermediate/cuda-go-rust-builder.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG CUDA_VERSION=11.7.1
2-
ARG GO_VERSION=1.21
2+
ARG GO_VERSION=1.22.12
33
ARG RUST_VERSION=nightly-2023-12-03
44
ARG 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
4242
ENV PATH="/usr/local/go/bin:${PATH}"

build/dockerfiles/intermediate/go-rust-builder.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.21
1+
ARG GO_VERSION=1.22.12
22
ARG RUST_VERSION=nightly-2023-12-03
33
ARG 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
3838
ENV PATH="/usr/local/go/bin:${PATH}"

0 commit comments

Comments
 (0)