Update Golang template

This commit is contained in:
2023-06-30 02:53:13 +00:00
parent 64da18e5ca
commit 967c380604
+2
View File
@@ -14,5 +14,7 @@ ARG USER=coder
RUN useradd --groups sudo --no-create-home --shell /bin/bash ${USER} \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${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"
USER ${USER}
WORKDIR /home/${USER}