mirror of https://github.com/Icinga/icinga2.git
8 lines
251 B
Plaintext
8 lines
251 B
Plaintext
|
#!/bin/sh
|
||
|
cd `dirname -- $0`
|
||
|
DIR=`pwd`
|
||
|
|
||
|
cd docker
|
||
|
docker.io build -t icinga2 --rm .
|
||
|
docker.io run -v $DIR/..:/root/icinga2 -v $DIR/.build:/root/icinga2-build -v $HOME/.ccache:/root/.ccache -v $DIR/config:/root/icinga2-config -t -i icinga2 /root/build
|