The docker-build-android-nodejs
image is provided to ease the building of android artifacts (apk, aap, aar, … ) Docker image used during development.
NodeJS support for building Capacitor applications. → Capacitor
Fastlane support for CI/CD (Gitlab-ci, …)
Two environment variables are available
-
UID
: the user identifier of the user that will operate all commands in the container. Default is 1001 -
GID
: the group identifier of the user that will operate all commands in the container. Default is 1001
FROM ghcr.io/r2d2bzh/docker-build-android-nodejs:dev
Important
|
Replace the tag dev with a tag delivered on the r2d2bzh/docker-build-android-nodejs project.
|
Creating a docker-compose file
This docker-compose.yml
file will help to easily build and start the development container.
It should contain something close to the following:
dev:
build:
context: dev
args:
UID: ${UID}
GID: ${GID}
volumes:
- .:/home/user/dev
Tip
|
Most of the time the .profile
export UID
export GID=$(id -g) |