-
-
Save jdaviderb/43f18cc90b6cf970d0dd2eda6f67cee9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/gjgd/5a08da85a98bf147294f331461e44d1f/raw/a63bf0f4169a8ab651adfa0a56e676e6bc465876/setup-github-action-runner.sh)" | |
# Update instance | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install latest version of git | |
sudo add-apt-repository ppa:git-core/ppa -y | |
sudo apt-get update | |
sudo apt-get install git -y | |
# Install and setup docker | |
sudo apt install docker.io docker-compose -y | |
sudo systemctl enable docker | |
sudo gpasswd -a $USER docker | |
newgrp docker | |
# Add current user to sudoer file | |
# https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/ | |
echo "${USER} ALL=(ALL) NOPASSWD:ALL" | sudo tee "/etc/sudoers.d/${USER}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment