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