Skip to content

Commit

Permalink
upgrade to go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Dec 28, 2023
1 parent 4bc49b5 commit fa1cccb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN ARCH=$(uname -m) && \
ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \
wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \
tar -xvf "go1.19.linux-$ARCH.tar.gz" && \
rm -rf go1.19.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.linux-$ARCH.tar.gz" && \
rm -rf go1.21.linux-$ARCH.tar.gz && \
mv go /usr/local
6 changes: 3 additions & 3 deletions Dockerfile-armv6
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN ARCH=$(uname -m) && \
ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \
wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \
tar -xvf "go1.19.linux-$ARCH.tar.gz" && \
rm -rf go1.19.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.linux-$ARCH.tar.gz" && \
rm -rf go1.21.linux-$ARCH.tar.gz && \
mv go /usr/local
6 changes: 3 additions & 3 deletions Dockerfile-armv7
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN ARCH=$(uname -m) && \
ARCH=$([ "$(uname -m)" = "armv7l" ] && echo "armv6l" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "x86_64" ] && echo "amd64" || echo $ARCH) && \
ARCH=$([ "$(uname -m)" = "aarch64" ] && echo "arm64" || echo $ARCH) && \
wget "https://dl.google.com/go/go1.19.linux-$ARCH.tar.gz" && \
tar -xvf "go1.19.linux-$ARCH.tar.gz" && \
rm -rf go1.19.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.21.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.linux-$ARCH.tar.gz" && \
rm -rf go1.21.linux-$ARCH.tar.gz && \
mv go /usr/local

0 comments on commit fa1cccb

Please sign in to comment.