diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index b794820..009c3c5 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -171,13 +171,13 @@ if [ -d "$Wdir/project" ]; then && chmod -R 600 \${SSHDIR}/* \ && chown -R \${USER1}:\${USER1} \${SSHDIR} \ && chown -R \${USER1}:\${USER1} \${USER_HOME} \ - && 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 \ -# && python3 setup.py install \ -# && cd / \ -# && rm -rf /peframe + && apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \ + && pip install --upgrade pip3 setuptools \ + && git clone https://github.com/guelfoweb/peframe.git \ + && cd peframe \ + && python3 setup.py install \ + && cd / \ + && rm -rf /peframe WORKDIR /home/docker/project COPY .vimrc /home/docker @@ -263,13 +263,13 @@ if [ "$Wdir" == "$HOME" ]; then && chmod -R 600 \${SSHDIR}/* \ && chown -R \${USER1}:\${USER1} \${SSHDIR} \ && chown -R \${USER1}:\${USER1} \${USER_HOME} \ - && 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 \ -# && python3 setup.py install \ -# && cd / \ -# && rm -rf /peframe + && apk update && apk --no-cache add py3-setuptools build-base libffi-dev swig openssl-dev libtool git \ + && pip install --upgrade pip3 setuptools \ + && git clone https://github.com/guelfoweb/peframe.git \ + && cd peframe \ + && python3 setup.py install \ + && cd / \ + && rm -rf /peframe COPY .vimrc /home/docker