Skip to content
Snippets Groups Projects
Commit 1f40893b authored by John Harris's avatar John Harris
Browse files

fix: remove tool containers after running

parent 74975bb2
No related branches found
Tags v3.2.18
No related merge requests found
Pipeline #45288 passed
...@@ -63,17 +63,17 @@ case "$1" in ...@@ -63,17 +63,17 @@ case "$1" in
shift shift
CQ_IMAGE=registry.nexusmods.com/nexus-mods/devops/tools/nexus-code-quality:stable CQ_IMAGE=registry.nexusmods.com/nexus-mods/devops/tools/nexus-code-quality:stable
docker pull $CQ_IMAGE docker pull $CQ_IMAGE
docker run -v "$PWD":/app/mounted $CQ_IMAGE "$@" docker run --rm -v "$PWD":/app/mounted $CQ_IMAGE "$@"
;; ;;
gu|gemfile-updater) gu|gemfile-updater)
shift shift
GU_IMAGE=registry.nexusmods.com/nexus-mods/devops/tools/base-image-gemfile-updater:stable GU_IMAGE=registry.nexusmods.com/nexus-mods/devops/tools/base-image-gemfile-updater:stable
docker pull $GU_IMAGE docker pull $GU_IMAGE
docker run -it -v "$(pwd)":/app -v /usr/local/bundle:/usr/local/bundle $GU_IMAGE "$@" docker run --rm -it -v "$(pwd)":/app -v /usr/local/bundle:/usr/local/bundle $GU_IMAGE "$@"
;; ;;
bu|bundle-update) bu|bundle-update)
shift shift
docker run -it -v "$(pwd)":/app -v /usr/local/bundle:/usr/local/bundle gitlab.nexdev.uk:5555/pub/bundle-updater:v1.0.7 "$@" docker run --rm -it -v "$(pwd)":/app -v /usr/local/bundle:/usr/local/bundle gitlab.nexdev.uk:5555/pub/bundle-updater:v1.0.7 "$@"
echo "Container now must be rebuilt!" echo "Container now must be rebuilt!"
;; ;;
-v|version) -v|version)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment