forked from ssvlabs/ssv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
30 lines (25 loc) · 1000 Bytes
/
install.sh
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
29
30
# install docker
sudo apt-get -y update
sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get -y update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io
# install make
sudo apt-get -y update && \
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq --no-install-recommends \
bash make curl git zip unzip wget g++ python gcc-aarch64-linux-gnu \
&& rm -rf /var/lib/apt/lists/*
# remove file to make sure that only one file exist
rm Makefile
# download Nakefile
wget https://raw.githubusercontent.com/ethereum/eth2-ssv/stage/Makefile
# run make
make docker-image