Build Android react-native apps with android-sdk
.
eas-cli
is included to build Expo apps.
Docker hub image:
hmerritt/android-sdk
- Create a
docker-compose.yml
file in your project directory. - Run
docker compose up -d
to fetch and run thehmerritt/android-sdk
Docker image - Open a shell within the running container
docker exec -it app-app-build-1 bash
- Run your build commands and have fun :)
version: '3.1'
services:
app-build:
image: hmerritt/android-sdk:latest
network_mode: "host"
restart: on-failure
volumes:
- ./:/project/app
docker build -t hmerritt/android-sdk:latest -t hmerritt/android-sdk:1.3.0 .
docker push hmerritt/android-sdk