smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

add build container support #294

Closed smanders closed 3 years ago

smanders commented 3 years ago

add Dockerfile, docker-compose.yml and other supporting files

run docker container with docker-compose and visual studio code 'remote - containers' extension

smanders commented 3 years ago

added files notincmake.txt... repo/cmake not in-sync

smanders commented 3 years ago

initial effort completed with commit to dev branch referenced above

smanders commented 3 years ago

last commit doesn't work as expected (which has me a bit confused, because I thought I tested the change)

$ docker-compose run --rm bpro
Creating externpro_bpro_run ... error

ERROR: for externpro_bpro_run  Cannot create container for service bpro: conflicting options: host type networking can't be used with links. This would result in undefined behavior

ERROR: for bpro  Cannot create container for service bpro: conflicting options: host type networking can't be used with links. This would result in undefined behavior
ERROR: Encountered errors while bringing up the project.

it appears the error happened because I was running an externpro container is visual studio code at the time I attempted docker-compose run --rm bpro

smanders commented 3 years ago

completed with commits to dev branch referenced above