blob: 6ff75588245b3959970dc1b8cf1582bfcd9f7fd9 (
plain)
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
|
#!/bin/bash
sudo apt update
sudo apt install -y \
zsh neovim man-db
chsh -s /bin/zsh
# docker
sudo apt install -y \
ca-certificates curl gnupg
sudo install -m 0775 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y \
docker-ce docker-compose
usermod -a -G docker $(whoami)
sudo service docker enable
sudo service docker start
|