Sign inSign up

d1alogo/android-react-native

By d1alogo

•Updated almost 8 years ago

dialogo android-react-native

Image
0

1.5K

d1alogo/android-react-native repository overview

Docker environment ready for react native for android development. It's composed of an android emulator container and a development container. The first will run the emulator over x11. The second contains the required tools for react native development.

The development container will map your $HOME directory to its /userdata, so you can feel free to use your preferred editor ide on the host, while running android commands and debugging on the container.

If the default emulator doesn't work with your distro you might want to use another image.

To do that set an environment variable named EMULATOR_DISTRO with one of the existing image versions:

  • debian-jessie
  • ubuntu-trusty
  • ubuntu-xenial
  • archlinux-latest

Or edit the .env file in this project.

To run the emulator:

xhost +
docker-compose up -d emulator

To shut down the emulator:

docker-compose down emulator

To enter the development environment:

docker-compose run development

To shut down the development container:

docker-compose down development

Tag summary

Content type

Image

Digest

Size

2 GB

Last updated

almost 8 years ago

docker pull d1alogo/android-react-native