docker-clean/Dockerfile
Knut Ahlers 6924335526
Check whether image is in use by hash
this seems sometimes to be required as the Docker daemon looses the
reference and does not display the name in `docker ps -a` output...

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-07-08 21:31:43 +02:00

12 lines
170 B
Docker

FROM alpine:3.8
RUN set -ex \
&& apk --no-cache add \
bash \
docker \
gawk \
jq
COPY docker-clean /usr/local/bin/
ENTRYPOINT ["docker-clean"]