This repository contains a set of helper tools to execute Mendix console tools (mxbuild, mxutil, mx) in docker context.
Especially useful for CI / CD spenarios like:
- Building and exporting mda (Mendix deployment archive) using
mxbuild
- Exporting module packages with
mxutil
Build the docker image with the required Mendix version
make version=9.10.0.36429 build
Run the required tool, e.g. running mxutil to extact the module package
docker run -v ~/Mendix/MyApp:/opt/app mendixlabs/mx-docker-tools:9.10.0.36429 mxutil.exe create-module-package --package-dir /opt/app/packages/ /opt/app/App.mpr "MyModule"
$JAVA_HOME
environment variable is avaliable on path inside the container and can be referred to when usingmxbuild
.