Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 5 #909

Open
wants to merge 8 commits into
base: unstable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,30 @@ sudo su root <<'EOF'

# Apt update and installs
apt update
apt install python-pip curl -y

apt install python3-pip curl -y
apt-get install libssl-dev swig python3-dev gcc
apt-get install flake8 python3 python2
# Install Docker
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-compose
pip3 install poster3

#Enable docker services
systemctl enable docker.service
systemctl enable containerd.service

if [ -f /etc/apt/sources.list.d/docker.list ]; then
echo "Apt source entry exists, skipping."
else
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list
fi
# Add user to docker group
groupadd docker
usermod -aG docker $USER

apt update
apt-get install docker-ce -y
systemctl start docker
systemctl enable docker

# Add user to docker group
usermod -aG docker $username

# End of root section
EOF
Expand Down
1 change: 0 additions & 1 deletion pupy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ https://github.com/warner/python-ed25519/archive/master.zip
pygments
requests
tornado==v5.1.1
poster
win_inet_pton
scandir
msgpack==0.6.2
Expand Down
3 changes: 3 additions & 0 deletions python-fix-after-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sudo ln -s /usr/bin/python3 /usr/bin/python