Sha256: 63f32e0871e8ac9c4f8f9bd39398bf7af0694667b728d7bde5a443f41b9ad294
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
#!/bin/sh function bundle_list() { bundle list } function generate_gemfile() { bundle_list | awk ' BEGIN { FS=" " print "source \"https://rubygems.org\""; format = "gem \"%s\", \"%s\"\r\n"; } { if ($2 == "bundler") { next; } if ($1 == "*") { match($3, "[^()]+"); version = substr($3,RSTART,RLENGTH); printf format, $2, version; } }' > docker/Gemfile } function stop_and_remove_containers { docker-compose stop rabbitmq docker rm basquiat_basquiat_run_1 docker rm --volumes=true basquiat_rabbitmq_1 } generate_gemfile docker-compose start rabbitmq docker-compose run basquiat trap stop_and_remove_containers EXIT SIGINT SIGTERM SIGKILL
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.2.0 | basquiat_docker.sh |