https://github.com/hmerritt/android-sdk
Build react-native (and Expo) apps with android-sdk in Docker.
https://github.com/hmerritt/android-sdk
android-sdk docker expo react-native
Last synced: about 1 year ago
JSON representation
Build react-native (and Expo) apps with android-sdk in Docker.
- Host: GitHub
- URL: https://github.com/hmerritt/android-sdk
- Owner: hmerritt
- Created: 2023-08-02T10:04:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-17T18:28:25.000Z (over 1 year ago)
- Last Synced: 2024-11-17T19:33:09.521Z (over 1 year ago)
- Topics: android-sdk, docker, expo, react-native
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/hmerritt/android-sdk
- Size: 5.86 KB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android SDK in Docker
Build Android react-native apps with `android-sdk`.
`eas-cli` is included to build [Expo](https://expo.dev/) apps.
> Docker hub image: [`hmerritt/android-sdk`](https://hub.docker.com/r/hmerritt/android-sdk)
## Setup locally
1. Create a `docker-compose.yml` file in your project directory.
2. Run `docker compose up -d` to fetch and run the `hmerritt/android-sdk` Docker image
3. Open a shell within the running container `docker exec -it app-app-build-1 bash`
4. 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
```
## Build & Release
```
docker build -t hmerritt/android-sdk:latest -t hmerritt/android-sdk:1.3.0 .
```
```
docker push hmerritt/android-sdk
```