{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/open-match/issues/45","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/open-match","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/open-match/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/open-match/issues/45/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/open-match/issues/45/events","html_url":"https://github.com/GoogleCloudPlatform/open-match/issues/45","id":387592061,"node_id":"MDU6SXNzdWUzODc1OTIwNjE=","number":45,"title":"Move builds to a 'base' image and associated changes","user":{"login":"joeholley","id":10213215,"node_id":"MDQ6VXNlcjEwMjEzMjE1","avatar_url":"https://avatars2.githubusercontent.com/u/10213215?v=4","gravatar_id":"","url":"https://api.github.com/users/joeholley","html_url":"https://github.com/joeholley","followers_url":"https://api.github.com/users/joeholley/followers","following_url":"https://api.github.com/users/joeholley/following{/other_user}","gists_url":"https://api.github.com/users/joeholley/gists{/gist_id}","starred_url":"https://api.github.com/users/joeholley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeholley/subscriptions","organizations_url":"https://api.github.com/users/joeholley/orgs","repos_url":"https://api.github.com/users/joeholley/repos","events_url":"https://api.github.com/users/joeholley/events{/privacy}","received_events_url":"https://api.github.com/users/joeholley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T04:49:41Z","updated_at":"2018-12-05T04:49:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Since we want public images in 0.3.0, we'd like to start the work to un-jank-ify the `Dockerfile`s and `cloudbuild.yaml` files.  This should be doable by anyone with a decent understanding of docker, cloudbuild, and kubernetes (to test that the results work correctly).  Basically:\r\n\r\n1. First thing to know: this should probably come after the issue to evaluate using configmaps for the OM config.  Removing the need to include the config file in the images will be necessary to keep from having to have base images for languages other than golang.\r\n1. For all the golang container images that use internal modules (this will be all components, not necessarily all examples or test clients, tho), make a `cloudbuild.yaml` and `Dockerfile` that builds off the golang base image and adds the `internal` directory.  After making this new 'open match base image', the `Dockerfile` and `cloudbuild.yaml` file to build it should be the only ones left in the repo root, I think.\r\n1. Refactor all the other `cloudbuild.yaml` files and `Dockerfile`s in the repo root to be in the directories of the associated components, examples, and test clients.\r\n1. [Optional] Probably have some make script or the like to run 'all' the builds that can be run from the repo root."}}
{"actor":{"display_login":"joeholley"}}