This docker provdie a full environment to build GWmodelS.
docker build -t gwmodels-dev .By default, a container with this image will only build the application.
docker run --rm -it --name gws-dev \
-v "$(pwd)"/gwmodeldesktop:/src \
gwmodels-devOn system with GUI (like Ubuntu Desktop and WSL2), a container can run the application.
docker run --rm -it --name gws-dev \
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$(pwd)"/gwmodeldesktop:/src \
--entrypoint /sh/run.sh \
gwmodels-devContainer environment variable MAKE_ARGS is used to control make command arguments.
docker run --rm -it --name gws-dev \
-e MAKE_ARGS=j8 -v "$(pwd)"/gwmodeldesktop:/src \
gwmodels-dev