Skip to content

Commit

Permalink
library/golang/1.21-{buster,alpine}: upgrade to 1.21.13
Browse files Browse the repository at this point in the history
Signed-off-by: chenguoqi <[email protected]>
  • Loading branch information
abner-chenc committed Sep 2, 2024
1 parent e403bf0 commit 4d7980e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions library/golang/1.21-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf

ENV PATH /usr/local/go/bin:$PATH

ENV GOLANG_VERSION 1.21.11
ENV GOLANG_VERSION 1.21.13

RUN set -eux; \
url='http://ftp.loongnix.cn/toolchain/golang/go-1.21/abi1.0/go1.21.11.linux-loong64.tar.gz'; \
sha256='b9319df453c355cad74dc378e23613105d53a5da7f92ba338ff221e0fbb10fcf'; \
url='http://ftp.loongnix.cn/toolchain/golang/go-1.21/abi1.0/go1.21.13.linux-loong64.tar.gz'; \
sha256='b3c90a132d6fd39513a4d080b659360fae3c9a4c95eacbc1de1469e43fd297c4'; \
wget -O go.tgz "$url" --progress=dot:giga; \
echo "$sha256 *go.tgz" | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
Expand Down
6 changes: 3 additions & 3 deletions library/golang/1.21-buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ RUN set -eux; \

ENV PATH /usr/local/go/bin:$PATH

ENV GOLANG_VERSION 1.21.11
ENV GOLANG_VERSION 1.21.13

RUN set -eux; \
url='http://ftp.loongnix.cn/toolchain/golang/go-1.21/abi1.0/go1.21.11.linux-loong64.tar.gz'; \
sha256='b9319df453c355cad74dc378e23613105d53a5da7f92ba338ff221e0fbb10fcf'; \
url='http://ftp.loongnix.cn/toolchain/golang/go-1.21/abi1.0/go1.21.13.linux-loong64.tar.gz'; \
sha256='b3c90a132d6fd39513a4d080b659360fae3c9a4c95eacbc1de1469e43fd297c4'; \
wget -O go.tgz "$url" --progress=dot:giga; \
echo "$sha256 *go.tgz" | sha256sum -c -; \
tar -C /usr/local -xzf go.tgz; \
Expand Down

0 comments on commit 4d7980e

Please sign in to comment.