]> git.ipfire.org Git - thirdparty/systemd.git/blame - travis-ci/tools/get-docker-remote.sh
Merge pull request #7833 from keszybz/netdev-relaxed
[thirdparty/systemd.git] / travis-ci / tools / get-docker-remote.sh
CommitLineData
99127d20
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
8sudo apt-get update && sudo apt-get -y install python3 python3-pip git
9sudo apt-get install -y $(apt-cache search venv | cut -d' ' -f 1)
10
11# Get the tool from github and install it
12git clone https://github.com/CermakM/docker-remote.git
13
14# We need to setup virtual environment here to solve disable_warning issue
15python3 -m venv venv
16source venv/bin/activate
17
18pushd docker-remote
19pip install .
20popd