This macro forcibly removes all docker images on build system.
Change-Id: I750e235b7de13338d816d2f963f0628b74ef0579
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
ReadTheDocs verify script.
+lf-infra-provide-docker-cleanup
+-------------------------------
+
+Forcibly removes all of the docker images.
+
Parameters
==========
builder:
- shell: !include-raw-escape: ../shell/sigul-install.sh
+- builder:
+ name: lf-infra-provide-docker-cleanup
+ builders:
+ - shell: |
+ #!/bin/bash
+ set +e # DO NOT cause build failure if docker rmi fails
+ docker rmi -f $(docker images -a -q)
+ exit 0
+
+
##############
# PARAMETERS #
##############