{"action":"created","issue":{"url":"https://api.github.com/repos/alicevision/AliceVision/issues/424","repository_url":"https://api.github.com/repos/alicevision/AliceVision","labels_url":"https://api.github.com/repos/alicevision/AliceVision/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/alicevision/AliceVision/issues/424/comments","events_url":"https://api.github.com/repos/alicevision/AliceVision/issues/424/events","html_url":"https://github.com/alicevision/AliceVision/pull/424","id":337062100,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MzY2MzIy","number":424,"title":"WIP [Docker] add docker support","user":{"login":"simogasp","id":1331744,"node_id":"MDQ6VXNlcjEzMzE3NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1331744?v=4","gravatar_id":"","url":"https://api.github.com/users/simogasp","html_url":"https://github.com/simogasp","followers_url":"https://api.github.com/users/simogasp/followers","following_url":"https://api.github.com/users/simogasp/following{/other_user}","gists_url":"https://api.github.com/users/simogasp/gists{/gist_id}","starred_url":"https://api.github.com/users/simogasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simogasp/subscriptions","organizations_url":"https://api.github.com/users/simogasp/orgs","repos_url":"https://api.github.com/users/simogasp/repos","events_url":"https://api.github.com/users/simogasp/events{/privacy}","received_events_url":"https://api.github.com/users/simogasp/received_events","type":"User","site_admin":false},"labels":[{"id":274427514,"node_id":"MDU6TGFiZWwyNzQ0Mjc1MTQ=","url":"https://api.github.com/repos/alicevision/AliceVision/labels/scope:build","name":"scope:build","color":"e102d8","default":false},{"id":274427524,"node_id":"MDU6TGFiZWwyNzQ0Mjc1MjQ=","url":"https://api.github.com/repos/alicevision/AliceVision/labels/type:enhancement","name":"type:enhancement","color":"84b6eb","default":false},{"id":274427510,"node_id":"MDU6TGFiZWwyNzQ0Mjc1MTA=","url":"https://api.github.com/repos/alicevision/AliceVision/labels/type:feature","name":"type:feature","color":"C7FF9F","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-29T16:29:17Z","updated_at":"2018-07-24T18:50:22Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/alicevision/AliceVision/pulls/424","html_url":"https://github.com/alicevision/AliceVision/pull/424","diff_url":"https://github.com/alicevision/AliceVision/pull/424.diff","patch_url":"https://github.com/alicevision/AliceVision/pull/424.patch"},"body":"Support for docker.\r\n\r\nIt is based on `nvidia/cuda` image (https://hub.docker.com/r/nvidia/cuda/)\r\n\r\nA parameter `CUDA_TAG` can be passed when building the image to select the ubuntu and cuda version. \r\nFor example to create a ubuntu 16.04 with cuda 8.0 for development, use\r\n```shell\r\nCUDA_TAG=8.0-devel\r\ndocker build --build-arg CUDA_TAG=$CUDA_TAG --tag alicevision:$CUDA_TAG .\r\n```\r\n\r\nIn order to run the image nvidia docker is needed https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)\r\n```\r\ndocker run -it --runtime=nvidia alicevision:$CUDA_TAG\r\n```\r\n\r\n## Implementation notes\r\n\r\n* It is based on the cmake script that build all the needed dependencies\r\n* Change introduced in the cmake script to install everything in the same folder (AV and dependencies): the docker will install everything in /usr/local/ so that all the script are immediately available in the PATH. "},"comment":{"url":"https://api.github.com/repos/alicevision/AliceVision/issues/comments/407513356","html_url":"https://github.com/alicevision/AliceVision/pull/424#issuecomment-407513356","issue_url":"https://api.github.com/repos/alicevision/AliceVision/issues/424","id":407513356,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzUxMzM1Ng==","user":{"login":"fabiencastan","id":153585,"node_id":"MDQ6VXNlcjE1MzU4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/153585?v=4","gravatar_id":"","url":"https://api.github.com/users/fabiencastan","html_url":"https://github.com/fabiencastan","followers_url":"https://api.github.com/users/fabiencastan/followers","following_url":"https://api.github.com/users/fabiencastan/following{/other_user}","gists_url":"https://api.github.com/users/fabiencastan/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiencastan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiencastan/subscriptions","organizations_url":"https://api.github.com/users/fabiencastan/orgs","repos_url":"https://api.github.com/users/fabiencastan/repos","events_url":"https://api.github.com/users/fabiencastan/events{/privacy}","received_events_url":"https://api.github.com/users/fabiencastan/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T18:50:21Z","updated_at":"2018-07-24T18:50:21Z","author_association":"MEMBER","body":"Great!\r\n- I'm not a big fan of changing the installation directory. I'd rather use the bundle target at the end. But if you think it's better, I can live with it.\r\n- Yes, we should definitely remove the build folder!\r\n- For docker hub, we will see later and maybe split the build between the main repo and the dependencies.\r\n"}}
{"actor":{"display_login":"fabiencastan"}}