In the examples below Tadashi is build in /tadashi, while the root of
the repo (on the host) is available at /workdir inside the container.
docker compose build tadashi
docker compose run --rm -it tadashiBuild the container with:
docker build -f tadashi.dockerfile -t tadashi .
docker run --rm -it -v$(pwd)/../..:/workdir tadashiTadashi can be rebuild in the host repo (from within docker) like this:
mkdir /workdir/build
cd /workdir/build
cmake ..
cmake --build .