SRC_DIR=<SRC_DIR> DISTRO=<DISTRO> PACKAGE=<PACKAGE> TAG_SRC=<TAG_SRC> TAG_PACKAGING= <TAG_PACKAGING> make package
Variable | Default | Description |
---|---|---|
PACKAGE | alignak | Package to build. Must match git repo name or directory name (if mounted) |
TAG_SRC | develop | Branch or tag to build source from. If not building alignak, you probably want to put master instead |
TAG_PACKAGING | master | Branch or tag to build packaging Useful if you are updating the packaging part |
DISTRO | ubuntu14 ubuntu16 debian8 centos7 | Distrubution to build the package. It must be one or several of the default value. If multiple, use double quotes around the list |
REPOS_DIR | $HOME/repos | Repos directory, mounted in docker If $REPOS_DIR/$PACKAGE exists, it will use it as src. Else, git clone the repository from github. Caution : It will checkout master uncommited change may be lost It will also change some permission as checkout is made as root |
The default command
make package
will build alignak package for all supported GNU/Linux distributions with the latest packaging available
Builder images can be built locally or pulled from Docker Hub
DISTRO=<DISTRO> make build
Variable | Default | Description |
---|---|---|
DISTRO | ubuntu14 ubuntu16 debian8 centos7 | Distrubution to build the package. It must be one or several of the one in default value. If multiple, use double quote around the list |
The default command
make build
will rebuild all docker images for all supported GNU/Linux distributions