File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,9 @@ trap cleanup EXIT
38
38
39
39
# Ensure that python3-pip is installed.
40
40
apt update
41
- apt install -y python3-pip
41
+ apt install -y python3-pip python3-requests
42
42
rm -rf /var/lib/apt/lists/*
43
43
44
- # Install/upgrade pip and requests module explicitly for HTTP calls.
45
- python3 -m pip install --upgrade pip requests
46
-
47
44
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
48
45
if [ -n " ${BOSKOS_HOST:- } " ]; then
49
46
# Check out the account from Boskos and store the produced environment
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ cleanup() {
47
47
trap cleanup EXIT
48
48
49
49
# Install requests module explicitly for HTTP calls
50
- python3 -m pip install requests
50
+ apt update
51
+ apt install -y python3-pip python3-requests
51
52
52
53
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
53
54
if [ -n " ${BOSKOS_HOST:- } " ]; then
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ cleanup() {
47
47
trap cleanup EXIT
48
48
49
49
# Install requests module explicitly for HTTP calls
50
- python3 -m pip install requests
50
+ apt update
51
+ apt install -y python3-pip python3-requests
51
52
52
53
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
53
54
if [ -n " ${BOSKOS_HOST:- } " ]; then
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ cleanup() {
47
47
trap cleanup EXIT
48
48
49
49
# Install requests module explicitly for HTTP calls
50
- python3 -m pip install requests
50
+ apt update
51
+ apt install -y python3-pip python3-requests
51
52
52
53
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
53
54
if [ -n " ${BOSKOS_HOST:- } " ]; then
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ apt install -y python3-pip
53
53
rm -rf /var/lib/apt/lists/*
54
54
55
55
# Install/upgrade pip and requests module explicitly for HTTP calls.
56
- python3 -m pip install --upgrade pip requests
56
+ apt update
57
+ apt install -y python3-pip python3-requests
57
58
58
59
# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
59
60
if [ -n " ${BOSKOS_HOST:- } " ]; then
You can’t perform that action at this time.
0 commit comments