docker-clean -- A script that cleans docker containers, images, volumes, and networks

This commit is contained in:
Kevin Chen 2023-09-14 17:37:36 -04:00 committed by Jacob Heider
parent 81cd4f3809
commit 3f098eaab8

View file

@ -0,0 +1,22 @@
distributable:
url: https://github.com/ZZROTDesign/docker-clean/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: ZZROTDesign/docker-clean
provides:
- bin/docker-clean
dependencies:
gnu.org/bash: '*'
docker.com/cli: "*"
build:
script:
- mkdir -p "{{ prefix }}"/bin
- cp docker-clean {{prefix}}/bin
test:
script:
- test "$(docker-clean --version)" = "{{version}}"