From ced8ef573c3f97eeffa2a3790ed4907e920ab761 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 9 Dec 2021 19:42:38 +0200 Subject: [PATCH] haproxy --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 7baac83..4578866 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -157,6 +157,7 @@ if [ -d "$Wdir/project" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ + && addgroup -S docker && adduser -S docker -G docker && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \ @@ -232,6 +233,7 @@ if [ "$Wdir" == "$HOME" ]; then COPY ssh/ \${SSHDIR}/ RUN export DEBIAN_FRONTEND=noninteractive \ + && addgroup -S docker && adduser -S docker -G docker && rm -rf /usr/share/doc \ && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \