This Image is just for building mapbender artifacts. To run mapbender in docker use this image...
You have to install docker first.
./build.sh
# Now lay back, get a coffee or thanks Axel for making this docker-box possible
After that, or if you want to use the image from the docker hub repository, run:
docker run mapbender/build -v /absolute/path/to/out:/out
If you want to build a specific version you can change the behavior by changing environment variables, like this:
docker run mapbender/build --env MAPBENDER_REPOSITORY="..." -v /absolute/path/to/out:/out
See list below for all environment variables...
If you want to build the image locally run in this folder:
docker build -t mapbender/build .
This docker image have a user for builds called bob. Please prefer him for builds!
There is a directory for enhancing with additional provisioning in /build-init.d
.
You can create your own image for builds and enhance this one by placing shell scripts
or a parameter.yml into this folder like this:
FROM mapbender/build
MAINTAINER Put your name here
COPY some-shell-script.sh /build-init.d/
COPY my-own-and-specific-paramters.yml /build-init.d/parameters.yml
MAPBENDER_REPOSITORY
default value: "https://github.com/mapbender/mapbender-starter.git"MAPBENDER_BRANCH
default value: "release/3.0.6"MAPBENDER_NAME
default value: "mapbender"MAPBENDER_VERSION
default value: "3.0.6"BUILD_NUMBER
default value: 1