Update Golang to use current download

This commit is contained in:
2023-08-02 21:35:30 +00:00
parent ce89352e3a
commit bfc69a960a
+1 -1
View File
@@ -16,7 +16,7 @@ RUN useradd --groups sudo --no-create-home --shell /bin/bash ${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}
RUN cd ~
RUN wget "https://dl.google.com/go/$(curl https://go.dev/VERSION?m=text).linux-amd64.tar.gz"
RUN tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf *.tar.gz
RUN echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
RUN rm *.linux-amd64.tar.gz
USER ${USER}