mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
docker-clean -- A script that cleans docker containers, images, volumes, and networks
This commit is contained in:
parent
81cd4f3809
commit
3f098eaab8
1 changed files with 22 additions and 0 deletions
22
projects/github.com/ZZROTDesign/docker-clean/package.yml
Normal file
22
projects/github.com/ZZROTDesign/docker-clean/package.yml
Normal 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}}"
|
Loading…
Reference in a new issue