Update Dockerfile

This commit is contained in:
Faraz Fallahi
2021-03-21 12:04:11 -04:00
parent 4707ea3e66
commit 64d36a22ec

View File

@@ -78,6 +78,7 @@ RUN \
useradd --system --no-log-init --create-home --home-dir /home/myuser --gid root --groups sudo --uid 1001 --shell /bin/bash myuser && \ useradd --system --no-log-init --create-home --home-dir /home/myuser --gid root --groups sudo --uid 1001 --shell /bin/bash myuser && \
echo 'root:root' | chpasswd && \ echo 'root:root' | chpasswd && \
echo 'myuser:myuser' | chpasswd && \ echo 'myuser:myuser' | chpasswd && \
ssh-keygen -A && \
exit 0 exit 0
ENTRYPOINT ["/usr/bin/tini", "--"] ENTRYPOINT ["/usr/bin/tini", "--"]