docker image to use with Gitlab CI for building the Android APK
6.1K
Docker file for building react native applications in Gitlab CI
Based on https://hub.docker.com/r/magiczvn/gitlab-ci-react-native-android/
sample .gitlab-ci.yml:
image: jpkrause/react-native-gitlab-ci-build
cache:
paths:
- node_modules/
- .gradle/
stages:
- build
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./android/gradlew
build:
stage: build
script:
- npm install --unsafe-perm
- cd android && ./gradlew assembleDebug --stacktrace
artifacts:
paths:
- android/app/build/outputs/apk
Content type
Image
Digest
Size
1.9 GB
Last updated
almost 8 years ago
docker pull jpkrause/react-native-gitlab-ci-build