1 2 3 4 5 6 7 8 9 |
#!/bin/bash # Here do anything needed to install the service # i.e. apt-get install -y foo or bzr branch http://myserver/mycode /srv/webroot # Make sure this hook exits cleanly and is idempotent, common problems here are # failing to account for a debconf question on a dependency, or trying to pull # from github without installing git first. apt-get install -y docker.io docker pull kirkland/mprime |