-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtooliv-install.sh
More file actions
27 lines (21 loc) · 926 Bytes
/
tooliv-install.sh
File metadata and controls
27 lines (21 loc) · 926 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
apt-get update
apt-get install -y openjdk-8-jdk
apt-get install -y wget
apt-get install -y unzip
wget https://services.gradle.org/distributions/gradle-7.4-bin.zip -P /tmp
unzip -d /opt/gradle /tmp/gradle-7.4-bin.zip
ln -s /opt/gradle/gradle-7.4 /opt/gradle/latest
apt update
apt install -y apt-transport-https
apt install -y ca-certificates
apt install -y curl
apt install -y software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
apt-cache policy docker-ce
apt install -y docker-ce
docker volume create tooliv-volume
docker volume create tooliv-db-volume
docker network create tooliv-network
curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x ${path}/usr/local/bin/docker-compose