Skip to content

Commit 176e6b3

Browse files
committed
cleanup docker cache before run, see debuerreotype/docker-debian-artifacts#69
1 parent 072efcd commit 176e6b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ before_install: # Use this to prepare the system to install prerequisites or dep
5454
install:
5555
- export CI_SOURCE_PATH=$(pwd)
5656
- export REPOSITORY_NAME=${PWD##*/}
57+
- yes | docker image prune
58+
- yes | docker container prune
5759
- if [[ "$QEMU" != "" ]]; then sudo apt-get install -y -qq qemu-user-static; ls /usr/bin/qemu-*-static; export QEMU_VOLUME="-v /usr/bin/qemu-$QEMU-static:/usr/bin/qemu-$QEMU-static" ; fi
5860
- if [[ "$QEMU" != "" ]]; then docker run --rm --privileged multiarch/qemu-user-static:register; fi
5961
- if [[ "$DOCKER_IMAGE" == *"arm"* ]]; then sudo apt-get install -y -qq qemu-user-static; fi

0 commit comments

Comments
 (0)