add initial deploy script for raspberry pi

This commit is contained in:
sigil-03 2025-09-04 15:46:33 -06:00
parent 806dcc7e15
commit aca207246d
3 changed files with 15 additions and 0 deletions

8
deploy/targets/init-raspi.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
docker --version > /dev/null 2>&1
if [ $? -ne 0 ]; then # we need to install docker
sudo apt-get update --quiet
sudo apt-get install --yes --quiet docker.io
sudo usermod -aG docker ${USER}
fi