git clone --recursive https://github.com/groonga/groonga.git
docker image build -t groonga_build .
docker container run -it --rm \
-v $PWD/groonga:/build \
-v $PWD/groonga.build:/groonga.build \
groonga_build \
cmake -B /groonga.build -S . -DCMAKE_BUILD_TYPE=Debug
docker container run -it --rm \
-v $PWD/groonga:/build \
-v $PWD/groonga.build:/groonga.build \
groonga_build \
cmake --build /groonga.build
docker container run -it --rm \
-v $PWD/groonga:/build \
-v $PWD/groonga.build:/groonga.build \
--shm-size=4g \
-e BUILD_DIR=/groonga.build/test/command \
groonga_build \
./test/command/run-test.sh
docker image build -t groonga_docs -f ./doc.Dockerfile .
docker container run -it --rm \
-v $PWD/groonga:/docs \
-v $PWD/groonga.docs:/groonga.docs \
groonga_docs \
cmake -B /groonga.docs -S . --preset=doc
docker container run -it --rm \
-v $PWD/groonga:/docs \
-v $PWD/groonga.docs:/groonga.docs \
groonga_docs \
cmake --build /groonga.docs
Generated in ./groonga.docs/doc/{en,ja}/html/
.
docker container run -it --rm \
-v $PWD/groonga:/docs \
-v $PWD/groonga.docs:/groonga.docs \
groonga_docs \
ninja doc_update_examples -C /groonga.docs
Update the run results of the command examples.
--cap-add=SYS_PTRACE
--security-opt="seccomp=unconfined"