Browse Source

xelatex-base

master
zeus 1 year ago
parent
commit
5ea68f79b4
  1. 41
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -152,12 +152,20 @@ if [ -d "$Wdir/project" ]; then
COPY $hostnames /usr/bin
COPY install-vim-plugin.sh .
RUN export DEBIAN_FRONTEND=noninteractive \
&& addgroup -S docker && adduser -S docker -G docker \
&& echo 'root:$ROOT_PASSWORD' | chpasswd \
&& mkdir -p /home/docker/project \
&& echo "docker:docker" | chpasswd \
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
ENV USER=docker
ENV GROUP_NAME=docker
ENV UID=12345
ENV GID=23456
RUN export DEBIAN_FRONTEND=noninteractive \
&& addgroup -g $GID $GROUP_NAME \
&& adduser \
--disabled-password \
--gecos "" \
--home "/home/docker" \
--ingroup "$GROUP_NAME" \
--uid "$UID" \
"$USER"
CMD ["tail","-f","/dev/null"]
@ -219,13 +227,20 @@ if [ "$Wdir" == "$HOME" ]; then
COPY $hostnames /usr/bin
COPY install-vim-plugin.sh .
RUN export DEBIAN_FRONTEND=noninteractive \
&& addgroup -S docker && adduser -S docker -G docker \
&& echo 'root:$ROOT_PASSWORD' | chpasswd \
&& mkdir -p /home/docker/project \
&& echo "docker:docker" | chpasswd \
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
ENV USER=docker
ENV GROUP_NAME=docker
ENV UID=12345
ENV GID=23456
RUN export DEBIAN_FRONTEND=noninteractive \
&& addgroup -g $GID $GROUP_NAME \
&& adduser \
--disabled-password \
--gecos "" \
--home "/home/docker" \
--ingroup "$GROUP_NAME" \
--uid "$UID" \
"$USER"
CMD ["tail","-f","/dev/null"]

Loading…
Cancel
Save