Update Golang to use current download
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user