This is a full fledged Ubuntu environment enabled to develop React Native Android applications.
1.2K
A version of Dockerfile.android-base from the React Native repo.
By default, the system image creates a user named 'user' and only installs android-30 as a platform. If you'd like to create your own user than use the following command:
$ docker run -it react-native-android-base bash
Wait for it to open the prompt (you're now in the container bash shell) and run the useradd command, basic usage is as follows (the portion in bracket is optional):
$ useradd [-r] [-s /bin/bash] username [-p password]
If you want to add more Android platforms or sdk packages, here's an example command on how to do that:
$ sdkmanager "platforms;android-29" "platforms;android-27" "system-images;android-S
If you need or want to rebuild the image, you can setup a default platform and user by passing --build-arg user=user --build-arg build_version=version to the build command.
The basic idea is to extend the Docker image with another written explicitly for your project.
Content type
Image
Digest
Size
1.7 GB
Last updated
over 5 years ago
docker pull c0dezer019/react-native-android-base