Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM debian:latest
|
| 2 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 3 |
RUN apt-get update && apt-get install -y passwd expect sudo
|
| 4 |
-
RUN useradd -m -u 1000 -s /bin/bash admin
|
| 5 |
-
RUN echo 'admin:pass' | chpasswd
|
| 6 |
RUN useradd -m -d /home/nonrootuser nonrootuser && echo 'nonrootuser:password' | chpasswd
|
| 7 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 8 |
RUN echo "admin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
|
|
| 1 |
FROM debian:latest
|
| 2 |
ARG DEBIAN_FRONTEND=noninteractive
|
| 3 |
RUN apt-get update && apt-get install -y passwd expect sudo
|
| 4 |
+
#RUN useradd -m -u 1000 -s /bin/bash admin
|
| 5 |
+
#RUN echo 'admin:pass' | chpasswd
|
| 6 |
RUN useradd -m -d /home/nonrootuser nonrootuser && echo 'nonrootuser:password' | chpasswd
|
| 7 |
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 8 |
RUN echo "admin ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|