zeus 3 years ago
parent
commit
69a55bf2e6
  1. 23
      install/usr/share/swarmlab.io/sec/swarmlab-sec

23
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -172,7 +172,17 @@ if [ -d "$Wdir/project" ]; then
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME}
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdebi-core \
&& wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.1-372-amd64.deb \
&& gdebi --non-interactive rstudio-server-2021.09.1-372-amd64.deb \
&& rm -f rstudio-server-2021.09.1-372-amd64.deb \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY .vimrc /home/docker
@ -257,7 +267,16 @@ if [ "$Wdir" == "$HOME" ]; then
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME}
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdebi-core \
&& wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.1-372-amd64.deb \
&& gdebi --non-interactive rstudio-server-2021.09.1-372-amd64.deb \
&& rm -f rstudio-server-2021.09.1-372-amd64.deb \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY .vimrc /home/docker

Loading…
Cancel
Save