Sign inSign up

gabrielepmattia/android-node

By gabrielepmattia

•Updated over 6 years ago

Build android applications also with Nodejs (e.g. for React Native, Ionic, etc.)

Image
0

254

gabrielepmattia/android-node repository overview

⁠docker-android-node

gabrielepmattia/android-node:latest⁠

This Docker image contains the Android SDK, NodeJS+NPM and the most common packages necessary for building Android Apps (also based on, for example, React Native) in a CI tool like GitLab CI. Make sure your CI environment's caching works as expected, this greatly improves the build time, especially if you use multiple build jobs.

A .gitlab-ci.yml with caching of your project's dependencies would look like this:

image: gabrielepmattia/android-node:latest

stages:
- build

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

build:
  stage: build
  script:
  - ./gradlew assembleDebug
  artifacts:
    paths:
    - app/build/outputs/apk/app-debug.apk

⁠Credits

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 6 years ago

docker pull gabrielepmattia/android-node