New Default Template - V1

This commit is contained in:
2023-06-22 05:22:20 +00:00
parent 7da5774942
commit 6c75c43570
10 changed files with 292 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM ubuntu
RUN apt-get update \
&& apt-get install -y \
curl \
git \
sudo \
vim \
nano \
wget \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
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}
USER ${USER}
WORKDIR /home/${USER}