Skip to content

Commit 9740c8c

Browse files
committed
Add a workaround for disk space failures on Docker
1 parent 1da0baa commit 9740c8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/run-docker.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ CARGO_HOME="${CARGO_HOME:-$DEFAULT_CARGO_HOME}"
1515
echo "${HOME}"
1616
pwd
1717

18+
# Avoid "no space left on device" failure.
19+
if [ "${1}" = "aarch64-linux-android" ] ; then
20+
docker system prune -af
21+
docker system df
22+
fi
23+
1824
run() {
1925
echo "Building docker container for target ${1}"
2026

0 commit comments

Comments
 (0)