Compare commits

..

3 commits

3 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# keep-sorted start # keep-sorted start
DOCKER_HOST=unix:///run/user/1000/podman/podman.sock DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
TESTCONTAINERS_RYUK_DISABLED=true
# keep-sorted end # keep-sorted end

View file

@ -8,6 +8,7 @@ IMAGES=(
docker.io/ollama/ollama:latest docker.io/ollama/ollama:latest
docker.io/plantuml/plantuml-server:jetty docker.io/plantuml/plantuml-server:jetty
ghcr.io/hadolint/hadolint:latest ghcr.io/hadolint/hadolint:latest
ghcr.io/mongodb/kingfisher:latest
lscr.io/linuxserver/transmission:latest lscr.io/linuxserver/transmission:latest
# keep-sorted end # keep-sorted end
) )

11
.local/bin/clear-buildah Executable file
View file

@ -0,0 +1,11 @@
#! /usr/bin/bash
set -euo pipefail
IFS=$'\n\t'
buildah_containers="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)"
if [ -z "${buildah_containers}" ]; then
echo "No containers to remove"
else
buildah rm "${buildah_containers}"
fi