burrow-pi-img/stage2/04-custom-tweaks/01-run.sh

10 lines
258 B
Bash
Raw Normal View History

#!/bin/bash -e
# Install Docker using default installation script
# and perform post-install steps to not require
# sudo for docker commands
echo "Installing docker..."
on_chroot << EOF
curl -sSL get.docker.com | sh
usermod -aG docker ${FIRST_USER_NAME}
EOF