jenkins-gitops-deploy-ec2 / terraform-dir / entry-script.sh
entry-script.sh
Raw
#!/bin/bash

sudo apt update && sudo apt upgrade
sudo apt install -y docker.io
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl start docker