Skip to content

Instantly share code, notes, and snippets.

@theqwan-chengwei
Created October 28, 2016 03:05
Show Gist options
  • Save theqwan-chengwei/f525b6119eb4153471057fdf5dd071a1 to your computer and use it in GitHub Desktop.
Save theqwan-chengwei/f525b6119eb4153471057fdf5dd071a1 to your computer and use it in GitHub Desktop.
#!/bin/bash
start-container
docker exec dev_server apt-get install php-xdebug
docker run -d -i --name addgit ci/ansible:dev sh
docker exec addgit apk update
docker exec addgit apk add git
docker commit addgit ci/ansible:dev
docker rm -f addgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment