Skip to content

Commit

Permalink
update go version to 1.22.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RexLyc committed Aug 21, 2024
1 parent b4fb6bc commit f63fdb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dockerfiles/kuscia-ci.DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN ln -sf /usr/bin/bash /bin/sh

ARG TARGETPLATFORM
ARG TARGETARCH
ARG GO_VERSION=1.19.7
ARG GO_VERSION=1.22.5

RUN apt-get update \
&& apt-get upgrade -y \
Expand All @@ -22,9 +22,9 @@ RUN apt-get update \
RUN set -eux; \
if [ "$TARGETPLATFORM" = "linux/arm64" ] ; \
then \
GO_SHA256SUM=071ea7bf386fdd08df524859b878d99fc359e491e7ad65c1c1cc55b67972c882 ; \
GO_SHA256SUM=8d21325bfcf431be3660527c1a39d3d9ad71535fabdf5041c826e44e31642b5a; \
else \
GO_SHA256SUM=7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d ; \
GO_SHA256SUM=904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0; \
fi \
&& url="https://golang.google.cn/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz"; \
wget --no-check-certificate -O go.tgz "$url"; \
Expand All @@ -43,4 +43,4 @@ RUN go install google.golang.org/protobuf/cmd/[email protected] && \
# run as root for now
WORKDIR /home/admin/

ENTRYPOINT [ "/bin/bash", "-l" ]
ENTRYPOINT [ "/bin/bash", "-l" ]

0 comments on commit f63fdb5

Please sign in to comment.