mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-03-03 18:00:26 +00:00
13 lines
337 B
Bash
13 lines
337 B
Bash
#!/bin/sh
|
|
if [ $(whoami) != ubuntu ]; then
|
|
echo "This script should be executed on a freshly deployed node,"
|
|
echo "with the 'ubuntu' user. Aborting."
|
|
exit 1
|
|
fi
|
|
if id docker; then
|
|
sudo userdel -r docker
|
|
fi
|
|
sudo apt-get update -q
|
|
sudo apt-get install -qy jq python-pip wkhtmltopdf xvfb
|
|
pip install --user awscli jinja2 pdfkit pssh
|