Skip to content

Commit

Permalink
upgrade go to go1.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed May 5, 2024
1 parent 0a50dc9 commit eb6b088
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 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.21.5.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \
rm -rf go1.21.5.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \
tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \
rm -rf go1.22.2.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.21.5.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \
rm -rf go1.21.5.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \
tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \
rm -rf go1.22.2.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.21.5.linux-$ARCH.tar.gz" && \
tar -xvf "go1.21.5.linux-$ARCH.tar.gz" && \
rm -rf go1.21.5.linux-$ARCH.tar.gz && \
wget "https://dl.google.com/go/go1.22.2.linux-$ARCH.tar.gz" && \
tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \
rm -rf go1.22.2.linux-$ARCH.tar.gz && \
mv go /usr/local
6 changes: 3 additions & 3 deletions Dockerfile-opencv
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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.22.2.linux-$ARCH.tar.gz" && \
tar -xvf "go1.22.2.linux-$ARCH.tar.gz" && \
rm -rf go1.22.2.linux-$ARCH.tar.gz && \
mv go /usr/local

0 comments on commit eb6b088

Please sign in to comment.