react-native-community/docker-android

GitLab - NDK installation - Not enough space

Hajan39 opened this issue ยท 4 comments

It looks like there is not enough space allowing docker to install NDK with a large package.

License for package NDK (Side by side) 20.1.5948944 accepted.
Preparing "Install NDK (Side by side) 20.1.5948944 (revision: 20.1.5948944)".
Warning: An error occurred while preparing SDK package NDK (Side by side) 20.1.5948944: No space left on device.:
java.io.IOException: No space left on device

full log can be found here

Warning: An error occurred while preparing SDK package NDK (Side by side) 20.1.5948944: No space left on device.:
java.io.IOException: No space left on device

This a problem with your underlying infrastructure. You should increase the space of the runner where you're loading this container

That is not possible 'cause it is a Shared runner and it is not possible to change it somehow ๐Ÿ˜ข

Maybe this will help someone - I changed a runner for a tags:["gitlab-org-docker"] and it is working.
Than you

Apologies for reviving an old issue, but wanted to add some details for future developers!

This also worked for my team, for context this meant adding the following to the specific build job for your Android application:

  tags: ["gitlab-org-docker"]