Commit 7200454d authored by BAIRE Anthony's avatar BAIRE Anthony

add script to upgrade a dev image

parent 47be231b
#!/bin/sh
help()
{
cat <<EOF
Usage: $0 CONTAINER
Commit a development container (eg. dev-rails). This is useful when updating
the bundler (Gemfile) or bower (bower.json) config.
This will commit <CONTAINER> into image allgo_<CONTAINER> (to be used with
docker-compose).
EOF
exit 1
}
[ $# -eq 1 ] || help
CTR="$1"
set -x
docker commit -- "$CTR" "allgo_$CTR:latest"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment