I hereby claim:
- I am kaspernissen on github.
- I am phennex (https://keybase.io/phennex) on keybase.
- I have a public key ASCvT6XAkcCOHs4E_HrSLXwh2EuXnITCDp0CaZ1FIeHD8go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
scripts: | |
build: | |
description: Build the docker image | |
actions: | |
- shell: shuttle template -o Dockerfile Dockerfile.tmpl | |
- shell: docker build -f $tmp/Dockerfile -t $(shuttle get docker.destImage):$(shuttle get docker.destTag) . | |
push: | |
description: Push the docker image | |
actions: | |
- shell: docker push $(shuttle get docker.destImage):$(shuttle get docker.destTag) |
#!/bin/sh | |
# Install Docker | |
curl -sSL get.docker.com | sh && \ | |
sudo usermod pi -aG docker | |
# Disable Swap | |
sudo dphys-swapfile swapoff && \ | |
sudo dphys-swapfile uninstall && \ | |
sudo update-rc.d dphys-swapfile remove |
#!/bin/sh | |
hostname=$1 | |
ip=$2 # should be of format: 192.168.1.100 | |
dns=$3 # should be of format: 192.168.1.1 | |
# Change the hostname | |
sudo hostnamectl --transient set-hostname $hostname | |
sudo hostnamectl --static set-hostname $hostname | |
sudo hostnamectl --pretty set-hostname $hostname |
#!/bin/sh | |
# Install Docker | |
curl -sSL get.docker.com | sh && \ | |
sudo usermod pi -aG docker | |
# Disable Swap | |
sudo dphys-swapfile swapoff && \ | |
sudo dphys-swapfile uninstall && \ | |
sudo update-rc.d dphys-swapfile remove |