Several Docker images are provided to ease compilation to other systems and Linux distributions.
- First clean build to avoid copying undesired files:
$ make purge
- Build docker image:
$ docker build -t logd-build:centos . -f utils/Dockerfile.centos7
- Then compile:
$ docker run --rm -v /tmp/logd_centos:/opt/logd/bin logd-build:centos
- Executable can be found in the host's mounted volume
For maximum application deployability, you can use the provided Dockerfile.static which compiles and statically links a logd executable against musl libc.