Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 1008 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 1008 Bytes

Content

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.

How to build docker image

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 .

How to use docker image

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