]>
Commit | Line | Data |
---|---|---|
99127d20 MČ |
1 | #!/bin/bash |
2 | ||
3 | # Download and install docker-remote | |
4 | # Sets up venv folder | |
5 | # Notes: run with sudo command | |
6 | ||
7 | # Make sure python3 is installed and install git and virtual environment | |
8 | sudo apt-get update && sudo apt-get -y install python3 python3-pip git | |
9 | sudo apt-get install -y $(apt-cache search venv | cut -d' ' -f 1) | |
10 | ||
11 | # Get the tool from github and install it | |
12 | git clone https://github.com/CermakM/docker-remote.git | |
13 | ||
14 | # We need to setup virtual environment here to solve disable_warning issue | |
15 | python3 -m venv venv | |
16 | source venv/bin/activate | |
17 | ||
18 | pushd docker-remote | |
19 | pip install . | |
20 | popd |