Skip to content

Commit 8561019

Browse files
Upgrade Go to the adequate version of Go 1.21.13 (#9)
* Update Go version in Dockerfile to 1.24.2 * Upgrade to the adequate Go1.21.13 --------- Co-authored-by: winlin <winlinvip@gmail.com>
1 parent ce74da5 commit 8561019

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ RUN apt install -y libasan5
5454

5555
ENV PATH=$PATH:/usr/local/go/bin
5656
RUN if [[ $TARGETARCH == 'amd64' ]]; then \
57-
curl -L https://go.dev/dl/go1.18.10.linux-amd64.tar.gz |tar -xz -C /usr/local; \
57+
curl -L https://go.dev/dl/go1.21.13.linux-amd64.tar.gz |tar -xz -C /usr/local; \
5858
fi
5959
RUN if [[ $TARGETARCH == 'arm64' ]]; then \
60-
curl -L https://go.dev/dl/go1.18.10.linux-arm64.tar.gz |tar -xz -C /usr/local; \
60+
curl -L https://go.dev/dl/go1.21.13.linux-arm64.tar.gz |tar -xz -C /usr/local; \
6161
fi
6262
# For linux/arm/v7, because ARMv6 is upwardly compatible with ARMv7.
6363
RUN if [[ $TARGETARCH == 'arm' ]]; then \
64-
curl -L https://go.dev/dl/go1.18.10.linux-armv6l.tar.gz |tar -xz -C /usr/local; \
64+
curl -L https://go.dev/dl/go1.21.13.linux-armv6l.tar.gz |tar -xz -C /usr/local; \
6565
fi
6666

6767
# For utest, the gtest. See https://github.com/google/googletest/releases/tag/release-1.11.0

0 commit comments

Comments
 (0)