Created
March 20, 2019 11:57
-
-
Save bilke/9d60d9ae951ce1be421d463b082f360e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python build.py --help | |
usage: build.py [-h] [--recipe RECIPE] [--out OUT] [--print] | |
[--format [{docker,singularity} [{docker,singularity} ...]]] | |
[--pm [{system,conan} [{system,conan} ...]]] | |
[--ompi [OMPI [OMPI ...]]] [--ogs [OGS [OGS ...]]] | |
[--cmake_args [CMAKE_ARGS [CMAKE_ARGS ...]]] [--build] | |
[--upload] [--registry REGISTRY] [--convert] [--runtime-only] | |
[--base_image BASE_IMAGE] [--clang] [--gui] [--docs] | |
Generate container image definitions. | |
optional arguments: | |
-h, --help show this help message and exit | |
--recipe RECIPE HPCCM recipe (default: recipes/ogs-builder.py) | |
--out OUT Output directory (default: _out) | |
--print, -P Print the definition to stdout (default: False) | |
Combinatorial options: | |
All combinations of the given options will be generated | |
--format [{docker,singularity} [{docker,singularity} ...]] | |
--pm [{system,conan} [{system,conan} ...]] | |
Package manager to install third-party dependencies | |
(default: ['conan']) | |
--ompi [OMPI [OMPI ...]] | |
OpenMPI version, e.g. 2.1.1, 2.1.5, 3.0.1, 3.1.2 | |
(default: ['off']) | |
--ogs [OGS [OGS ...]] | |
OGS GitHub repo in the form 'user/repo@branch' or | |
'off' to disable OGS building (default: | |
['ufz/ogs@master']) | |
--cmake_args [CMAKE_ARGS [CMAKE_ARGS ...]] | |
CMake argument sets have to be quoted and **must** | |
start with a space. e.g. --cmake_args ' -DFIRST=TRUE | |
-DFOO=BAR' ' -DSECOND=TRUE' (default: ['']) | |
Image build options: | |
--build, -B Build the images from the definition files (default: | |
False) | |
--upload, -U Upload Docker image to registry (default: False) | |
--registry REGISTRY The docker registry the image is tagged and uploaded | |
to. (default: registry.opengeosys.org/ogs/ogs) | |
--convert, -C Convert Docker image to Singularity image (default: | |
False) | |
--runtime-only, -R Generate multi-stage Dockerfiles for small runtime | |
images (default: False) | |
Additional options: | |
--base_image BASE_IMAGE | |
The base image. 'centos:7' is supported too. (default: | |
ubuntu:17.10) | |
--clang Use clang instead of gcc (default: False) | |
--gui Builds the GUI (Data Explorer) (default: False) | |
--docs Setup documentation requirements (Doxygen) (default: | |
False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment