Skip to content

Commit ee7de9d

Browse files
authored
Merge pull request #1742 from JohnTitor/check-docker
Add a workaround for disk space failures on Docker
2 parents 1da0baa + 9740c8c commit ee7de9d

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)