zeus 3 years ago
parent
commit
e9357bdb83
  1. 24
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -172,12 +172,12 @@ if [ -d "$Wdir/project" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \ && chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \ && chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \ && apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \
&& pip install --upgrade pip3 setuptools \ && pip install --upgrade pip3 setuptools
&& git clone https://github.com/guelfoweb/peframe.git \ # && git clone https://github.com/guelfoweb/peframe.git \
&& cd peframe \ # && cd peframe \
&& python3 setup.py install \ # && python3 setup.py install \
&& cd / \ # && cd / \
&& rm -rf /peframe # && rm -rf /peframe
WORKDIR /home/docker/project WORKDIR /home/docker/project
COPY .vimrc /home/docker COPY .vimrc /home/docker
@ -264,12 +264,12 @@ if [ "$Wdir" == "$HOME" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \ && chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \ && chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \ && apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \
&& pip install --upgrade pip3 setuptools \ && pip install --upgrade pip3 setuptools
&& git clone https://github.com/guelfoweb/peframe.git \ # && git clone https://github.com/guelfoweb/peframe.git \
&& cd peframe \ # && cd peframe \
&& python3 setup.py install \ # && python3 setup.py install \
&& cd / \ # && cd / \
&& rm -rf /peframe # && rm -rf /peframe
COPY .vimrc /home/docker COPY .vimrc /home/docker

Loading…
Cancel
Save