Premier commit

This commit is contained in:
2020-09-01 10:22:18 +02:00
commit c1a3d239b7
3 changed files with 165 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM debian
RUN apt update -y && \
apt upgrade -y && \
apt install -y sudo vim
RUN sed -i "/%sudo/s/ALL$/NOPASSWD: ALL/" /etc/sudoers
COPY ./data/bashrc /etc/skel/.bashrc
RUN useradd loic -m -G sudo
USER loic
CMD while true; do sleep 1 ; done