Refactor Docker scripts

This commit is contained in:
Philippe Teuwen 2024-12-18 22:18:05 +01:00
commit 12775960dc
69 changed files with 26 additions and 457 deletions

9
docker/rm.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
if [ ! -e docker_conf.inc ]; then
echo "This script must be run from within one of the subfolders"
exit 1
fi
. docker_conf.inc
docker rm $(docker ps -aq --filter ancestor="$DOCKER_IMAGE")
docker image rm "$DOCKER_IMAGE"