{"action":"created","issue":{"url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/40","labels_url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/40/comments","events_url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/40/events","html_url":"https://github.com/wielandbrendel/agmb-docker/issues/40","id":129553931,"number":40,"title":"RFC: Individual repositories for each image for improved Docker Hub support","user":{"login":"jonasrauber","id":5837385,"avatar_url":"https://avatars.githubusercontent.com/u/5837385?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasrauber","html_url":"https://github.com/jonasrauber","followers_url":"https://api.github.com/users/jonasrauber/followers","following_url":"https://api.github.com/users/jonasrauber/following{/other_user}","gists_url":"https://api.github.com/users/jonasrauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasrauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasrauber/subscriptions","organizations_url":"https://api.github.com/users/jonasrauber/orgs","repos_url":"https://api.github.com/users/jonasrauber/repos","events_url":"https://api.github.com/users/jonasrauber/events{/privacy}","received_events_url":"https://api.github.com/users/jonasrauber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-28T19:32:40Z","updated_at":"2016-01-28T19:51:29Z","closed_at":null,"body":"Having a single git repository for each image allows us to trigger automatic builds in a more specific way for exactly the image whose Dockerfile (repository) changed. As far as I know, this is not possible with the current setup (one git repository for multiple images).\r\n\r\nReason: In the future, I expect most changes to happen to jupyter-deeplearning or other equally \"high\" or \"higher\" images, like the data analysis image proposed in #10. The above proposal would make it much faster to deploy these changes to Docker Hub because it would not be necessary for Docker Hub to rebuild the whole cascade of images. Right now one has to either wait for the complete cascade of images to build (slow and \"expensive\" [1] because Docker Hub does not cache automated builds [2]) or one has to trigger a build for the specific image manually (we don't want to do things manually and only Wieland has the possibility to do this).\r\n\r\nTo combine the repositories, and, more importantly the Docker images under a unique entity, GitHub and Docker Hub organizations instead of single repository might be more appropriate, see proposal #39.\r\n\r\n[1] expensive in terms of time, energy, world resources\r\n[2] http://stackoverflow.com/questions/25102272/why-doesnt-docker-hub-cache-automated-build-repositories-as-the-images-are-bein"},"comment":{"url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/comments/176373454","html_url":"https://github.com/wielandbrendel/agmb-docker/issues/40#issuecomment-176373454","issue_url":"https://api.github.com/repos/wielandbrendel/agmb-docker/issues/40","id":176373454,"user":{"login":"jonasrauber","id":5837385,"avatar_url":"https://avatars.githubusercontent.com/u/5837385?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasrauber","html_url":"https://github.com/jonasrauber","followers_url":"https://api.github.com/users/jonasrauber/followers","following_url":"https://api.github.com/users/jonasrauber/following{/other_user}","gists_url":"https://api.github.com/users/jonasrauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasrauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasrauber/subscriptions","organizations_url":"https://api.github.com/users/jonasrauber/orgs","repos_url":"https://api.github.com/users/jonasrauber/repos","events_url":"https://api.github.com/users/jonasrauber/events{/privacy}","received_events_url":"https://api.github.com/users/jonasrauber/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T19:51:29Z","updated_at":"2016-01-28T19:51:29Z","body":"One more thing: having fast Docker Hub builds is important; otherwise some people start doing local builds to have more up-to-date images, which might then get untagged when another user on the same node (which is normal on the gpu cluster because they have two gpu's) pulls the older images from Docker Hub; it just happened to me and it's very confusing if your images suddenly get older"}}