Boring Booking, a demo dockerized C++ project managed by Conan.
git clone https://github.com/leixure/bb.git
cd bb
conan create . --build=missing
expect something like this:
...
======== Testing the package: Executing test ========
bb/1.0 (test package): Running test()
bb/1.0 (test package): RUN: bb
Navigate to http://localhost:8080
Then open the link above in your browser.
# assuming you are in the project root, and you have not run `conan create`
conan create . --build=missing -tf ""
# then
conan install --requires bb/1.0 --deployer direct_deployer
cd direct_deployer/bb
# build the docker image locally
docker buildx build -t lxiong/bb .
# run the image
docker run -p 8080:8080 lxiong/bb:latest
docker pull lxiong/bb
docker run -p 8080:8080 lxiong/bb:latest