Dockerfiles and scripts placed in this directory are intended to be used as a development process vehicles and part of continuous integration process.
Images built out of those recipes may by used with docker or podman as a development environment. Only those used on CI (Travis/Github Actions) are fully tested on a daily basis. In case of any problem, patches and Github issues are welcome.
docker build --build-arg https_proxy=http://proxy.com:port --build-arg http_proxy=http://proxy.com:port -t libpmemobj-cpp:debian-unstable -f ./Dockerfile.debian-unstable .
To run build and tests on local machine on docker:
docker run --network=bridge --shm-size=4G -v /your/workspace/path/:/opt/workspace:z -w /opt/workspace/ -e CC=clang -e CXX=clang++ -e PKG_CONFIG_PATH=/opt/pmdk/lib/pkgconfig -it libpmemobj-cpp:debian-unstable /bin/bash
To get strace working, add to docker commandline
--cap-add SYS_PTRACE