-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprovision.sh
More file actions
28 lines (17 loc) · 778 Bytes
/
provision.sh
File metadata and controls
28 lines (17 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
echo "--------------- Update -----------------------------------------------"
sudo apt-get update
echo "--------------- Docker group setup to run without sudo ---------------"
groupadd --gid 993 docker
usermod -aG docker vagrant
echo "--------------- Docker install ---------------------------------------"
sudo apt-get install docker -y
sudo apt-get install docker-compose -y
echo "--------------- Docker hello world -----------------------------------"
docker run hello-world
echo "--------------- Install pip3 -----------------------------------------"
sudo apt-get update -y
sudo apt-get install python3-pip -y
echo "--------------- Install pytest ---------------------------------------"
pip3 install pytest
export PATH=$PATH:/home/vagrant/.local/bin