From 5bd655ff93448ae3450ba43c6b722ff2785b77cc Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 15 Nov 2023 12:50:09 +0200 Subject: [PATCH] xelatex-base --- .../usr/share/swarmlab.io/sec/swarmlab-sec | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 43116d0..3390ad6 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -153,19 +153,10 @@ if [ -d "$Wdir/project" ]; then COPY install-vim-plugin.sh . RUN export DEBIAN_FRONTEND=noninteractive \ - && rm -rf /usr/share/doc \ - && 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 \ - && mkdir -p /etc/opt \ && echo "docker:docker" | chpasswd \ - && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ - && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ - && chmod -R 600 \${SSHDIR}/* \ && chown -R \${USER1}:\${USER1} \${SSHDIR} CMD ["tail","-f","/dev/null"] @@ -229,21 +220,13 @@ if [ "$Wdir" == "$HOME" ]; then COPY install-vim-plugin.sh . RUN export DEBIAN_FRONTEND=noninteractive \ - && rm -rf /usr/share/doc \ - && 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 \ - && mkdir -p /etc/opt \ && echo "docker:docker" | chpasswd \ - && echo "StrictHostKeyChecking no" > \${SSHDIR}/config \ - && cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \ - && chmod -R 600 \${SSHDIR}/* \ && chown -R \${USER1}:\${USER1} \${SSHDIR} + CMD ["tail","-f","/dev/null"] EOF