Sha256: 3716254204f40a7d101886593e8e7682667bdded3972f1eb67d9387eaf0b7a16
Contents?: true
Size: 796 Bytes
Versions: 1
Compression:
Stored size: 796 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 --service-ports basquiat trap stop_and_remove_containers EXIT SIGINT SIGTERM SIGKILL
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.3.0.pre.1 | basquiat_docker.sh |