{"action":"created","issue":{"url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/51","repository_url":"https://api.github.com/repos/savoirfairelinux/cqfd","labels_url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/51/comments","events_url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/51/events","html_url":"https://github.com/savoirfairelinux/cqfd/issues/51","id":294252038,"number":51,"title":"Use upstream Docker containers","user":{"login":"sevagh","id":8574092,"avatar_url":"https://avatars1.githubusercontent.com/u/8574092?v=4","gravatar_id":"","url":"https://api.github.com/users/sevagh","html_url":"https://github.com/sevagh","followers_url":"https://api.github.com/users/sevagh/followers","following_url":"https://api.github.com/users/sevagh/following{/other_user}","gists_url":"https://api.github.com/users/sevagh/gists{/gist_id}","starred_url":"https://api.github.com/users/sevagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevagh/subscriptions","organizations_url":"https://api.github.com/users/sevagh/orgs","repos_url":"https://api.github.com/users/sevagh/repos","events_url":"https://api.github.com/users/sevagh/events{/privacy}","received_events_url":"https://api.github.com/users/sevagh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-05T01:47:38Z","updated_at":"2018-02-06T01:16:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello (again)! Hope everyone's doing fine.\r\n\r\nThere are many Docker containers in the world which are designed to be used as compile/build containers, e.g. https://github.com/clux/muslrust for Rust\r\n\r\nDoes it make sense to adapt cqfd to be able to use an upstream Docker container, e.g.:\r\n\r\n```\r\n$ cat .cqfdrc\r\n[build]\r\ndockerhub='clux/muslrust'\r\ncommand='cargo build'\r\n```\r\n\r\nIn this case instead of `docker build` it will run `docker pull`.\r\n\r\nI'm not sure if this is a good idea or it deviates too much from the intention of cqfd. The reason I want to use cqfd is that I like the DSL (flavors, archive) and all the Docker permission stuff is taken care of (I often repeat `&& chown -R 1000:1000 $(PWD)` in all of my Docker-based compile scripts)."},"comment":{"url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/comments/363277247","html_url":"https://github.com/savoirfairelinux/cqfd/issues/51#issuecomment-363277247","issue_url":"https://api.github.com/repos/savoirfairelinux/cqfd/issues/51","id":363277247,"user":{"login":"sevagh","id":8574092,"avatar_url":"https://avatars1.githubusercontent.com/u/8574092?v=4","gravatar_id":"","url":"https://api.github.com/users/sevagh","html_url":"https://github.com/sevagh","followers_url":"https://api.github.com/users/sevagh/followers","following_url":"https://api.github.com/users/sevagh/following{/other_user}","gists_url":"https://api.github.com/users/sevagh/gists{/gist_id}","starred_url":"https://api.github.com/users/sevagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevagh/subscriptions","organizations_url":"https://api.github.com/users/sevagh/orgs","repos_url":"https://api.github.com/users/sevagh/repos","events_url":"https://api.github.com/users/sevagh/events{/privacy}","received_events_url":"https://api.github.com/users/sevagh/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T01:16:09Z","updated_at":"2018-02-06T01:16:09Z","author_association":"CONTRIBUTOR","body":"Do you have any suggestions on where I should put the \"upstream container\" key in the config? Does `dockerhub='path/on/dockerhub'` in each flavor make sense? Or just 1 per .cfqdrc file?"}}
{"actor":{"display_login":"sevagh"}}