Browse Source

Move package installation into setup/

master
Andreas Linz 2 years ago
parent
commit
220544e844
Signed by: alinz GPG Key ID: 9BF39809C9DA580C
2 changed files with 11 additions and 5 deletions
  1. +2
    -5
      setup.sh
  2. +9
    -0
      setup/docker.sh

+ 2
- 5
setup.sh View File

@ -4,13 +4,10 @@ set -euo pipefail
locale-gen
#timedatectl set-timezone Europe/Berlin
apt update
apt upgrade -y
apt dist-upgrade -y
apt install -y vim git docker-compose
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
usermod -aG docker pi
setup/docker.sh

+ 9
- 0
setup/docker.sh View File

@ -0,0 +1,9 @@
#!/bin/bash
set -euo pipefail
apt install -y vim git docker-compose
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
usermod -aG docker pi

Loading…
Cancel
Save