From 48a458979b1c5a9c5e559c8a25439cbb2d739fa6 Mon Sep 17 00:00:00 2001 From: andrea Date: Thu, 16 May 2024 16:39:43 +0200 Subject: [PATCH] Fix Dockerfile removing -u option --- Dockerfile | 2 +- assets/backup/foo/bar | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 assets/backup/foo/bar diff --git a/Dockerfile b/Dockerfile index ab675a7..3eda7ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu RUN apt update && apt install tree nano openssh-server iproute2 sudo -y -RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test +RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo test RUN echo 'test:test' | chpasswd RUN service ssh start diff --git a/assets/backup/foo/bar b/assets/backup/foo/bar new file mode 100644 index 0000000..e69de29