From 2f122228ad5daf71dc3c88283c46cfbe335c0616 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 2 Jan 2022 17:45:19 +0200 Subject: [PATCH] add --- .../usr/share/swarmlab.io/sec/swarmlab-sec | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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