Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 1.26 KB

Building joynr JavaScript

The following scripts found within the joynr repository can be used to build joynr inside a docker container without having to install anything on the build machine.

Prerequisites

See Building joynr Java and common components.

Building joynr JavaScript

Joynr JavaScript can be built by executing the following command:

sudo docker run --rm --sig-proxy -e DEV_UID="$(id -u)"
    -v <FULL_PATH_TO_JOYNR_JAVASCRIPT_REPOSITORY>:/data/src
    -v <FULL_PATH_TO_MAVEN_DIRECTORY>:/home/joynr/.m2
    joynr-javascript
    /data/src/docker/joynr-javascript/scripts/build/javascript-clean-build

This will start the docker container joynr-javascript and execute the script docker/joynr-javascript/scripts/build/javascript-clean-build.sh in the joynr repository. This script builds joynr JavaScript.

The joynr artifacts necessary for building joynr JavaScript are taken from the local Maven repository <FULL_PATH_TO_HOST_MAVEN_DIRECTORY> mounted at /home/joynr/.m2 in the docker container. Like for building joynr Java, the path to the joynr repository <FULL_PATH_TO_JOYNR_JAVASCRIPT_REPOSITORY> has to be provided to be accessible from the docker container at /data/src.

You can’t perform that action at this time.