- Start an instance using the desired base AMI (i.e. from Amazon EC2 AMI Locator).
- SSH into the instance and clone this repo.
git clone https://github.com/universalunits/jenkins-php-slave.git
- Run the provision script.
jenkins-php-slave/provision.sh
docker run --rm -it -v $(pwd):/puppet ubuntu:16.04 /bin/bash
apt-get update && apt-get install -y sudo git && /puppet/provision.sh