Skip to content

Commit

Permalink
Update Go Lang
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnamee committed Oct 2, 2023
1 parent 7b0e103 commit 3dbbf4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ RUN apt-get update && \
# Install go
RUN cd /opt && \
ARCH=$( arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/ ) && \
wget https://dl.google.com/go/go1.19.5.linux-${ARCH}.tar.gz && \
tar -xvf go1.19.5.linux-${ARCH}.tar.gz && \
rm -rf /opt/go1.19.5.linux-${ARCH}.tar.gz && \
wget https://dl.google.com/go/go1.21.1.linux-${ARCH}.tar.gz && \
tar -xvf go1.21.1.linux-${ARCH}.tar.gz && \
rm -rf /opt/go1.21.1.linux-${ARCH}.tar.gz && \
mv go /usr/local

# Install Python common dependencies
Expand Down
6 changes: 3 additions & 3 deletions install-in-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ apt-get update && \
# Install go
cd /opt && \
ARCH=$( arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/ ) && \
wget https://dl.google.com/go/go1.19.5.linux-${ARCH}.tar.gz && \
tar -xvf go1.19.5.linux-${ARCH}.tar.gz && \
rm -rf /opt/go1.19.5.linux-${ARCH}.tar.gz && \
wget https://dl.google.com/go/go1.21.1.linux-${ARCH}.tar.gz && \
tar -xvf go1.21.1.linux-${ARCH}.tar.gz && \
rm -rf /opt/go1.21.1.linux-${ARCH}.tar.gz && \
mv go /usr/local

# Install Python common dependencies
Expand Down

0 comments on commit 3dbbf4e

Please sign in to comment.