add initial deploy script for raspberry pi
This commit is contained in:
parent
806dcc7e15
commit
aca207246d
3 changed files with 15 additions and 0 deletions
8
deploy/targets/init-raspi.sh
Executable file
8
deploy/targets/init-raspi.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue