Image size is very very vey large
nsisodiya opened this issue · 6 comments
nsisodiya commented
I am using it on Mac machine. My Image size is very very large - 5.84 GB !!
How can we reduce the image size ?
MaximeD commented
Hello, yes I know, this is because of android sdk.
The directory /usr/local/android-sdk-linux
takes 4.7GB. Unfortunatly those files are required, so I am afraid there is not much that can be done to reduce image size.
If disk space is a matter for you, consider storing your docker images to another drive.
nsisodiya commented
If I store image at different machine, How I will create a container from it ?
MaximeD commented
nsisodiya commented
i use mac, single drive.
is it possbile to use some alpine base to reduce size
MaximeD commented
Well for sure you could adapt Dockerfile to use alpine, but that won't reduce the size of java nor android sdk ;)
anhhtz commented
You should develope RN on host machine