Created
April 9, 2022 13:00
-
-
Save mikemadden42/dd095b1b7c9cc9dcb574c7476231c0c4 to your computer and use it in GitHub Desktop.
Running ubuntu under docker
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
docker pull ubuntu:20.04 | |
docker run -it --rm ubuntu:20.04 bash | |
set -o vi | |
cd $HOME | |
apt update && apt dist-upgrade -y && apt autoclean -y && apt autoremove -y | |
apt install git sudo vim-nox -y | |
mkdir src && cd src | |
git clone https://github.com/mikemadden42/ripley.git | |
cd ripley/ | |
./setup_ansible_ubuntu.sh | |
ansible-playbook -c local -i hosts.txt ubuntu-focal.yml --check | |
ansible-playbook -c local -i hosts.txt ubuntu-focal.yml | |
======== | |
docker pull ubuntu:22.04 | |
docker run -it --rm ubuntu:22.04 bash | |
set -o vi | |
cd $HOME | |
apt update && apt dist-upgrade -y && apt autoclean -y && apt autoremove -y | |
apt install git sudo vim-nox -y | |
mkdir src && cd src | |
git clone https://github.com/mikemadden42/ripley.git | |
cd ripley/ | |
./setup_ansible_ubuntu_jammy.sh | |
ansible-playbook -c local -i hosts.txt ubuntu-jammy.yml --check | |
ansible-playbook -c local -i hosts.txt ubuntu-jammy.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment