zeus 3 years ago
parent
commit
5fdf582233
  1. 26
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -171,12 +171,13 @@ if [ -d "$Wdir/project" ]; then
&& chmod -R 600 \${SSHDIR}/* \ && chmod -R 600 \${SSHDIR}/* \
&& 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
&& git clone https://github.com/guelfoweb/peframe.git \
&& cd peframe \ # && git clone https://github.com/guelfoweb/peframe.git \
&& python3 setup.py install \ # && cd peframe \
&& cd / \ # && python3 setup.py install \
&& rm -rf /peframe # && cd / \
# && rm -rf /peframe
WORKDIR /home/docker/project WORKDIR /home/docker/project
COPY .vimrc /home/docker COPY .vimrc /home/docker
@ -262,12 +263,13 @@ if [ "$Wdir" == "$HOME" ]; then
&& chmod -R 600 \${SSHDIR}/* \ && chmod -R 600 \${SSHDIR}/* \
&& 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
&& git clone https://github.com/guelfoweb/peframe.git \
&& cd peframe \ # && git clone https://github.com/guelfoweb/peframe.git \
&& python3 setup.py install \ # && cd peframe \
&& cd / \ # && python3 setup.py install \
&& rm -rf /peframe # && cd / \
# && rm -rf /peframe
COPY .vimrc /home/docker COPY .vimrc /home/docker

Loading…
Cancel
Save