{"action":"created","issue":{"url":"https://api.github.com/repos/windmilleng/tilt/issues/1680","repository_url":"https://api.github.com/repos/windmilleng/tilt","labels_url":"https://api.github.com/repos/windmilleng/tilt/issues/1680/labels{/name}","comments_url":"https://api.github.com/repos/windmilleng/tilt/issues/1680/comments","events_url":"https://api.github.com/repos/windmilleng/tilt/issues/1680/events","html_url":"https://github.com/windmilleng/tilt/issues/1680","id":447794082,"node_id":"MDU6SXNzdWU0NDc3OTQwODI=","number":1680,"title":"Feature request: can override Dockerfile entrypoint","user":{"login":"maiamcc","id":6332648,"node_id":"MDQ6VXNlcjYzMzI2NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6332648?v=4","gravatar_id":"","url":"https://api.github.com/users/maiamcc","html_url":"https://github.com/maiamcc","followers_url":"https://api.github.com/users/maiamcc/followers","following_url":"https://api.github.com/users/maiamcc/following{/other_user}","gists_url":"https://api.github.com/users/maiamcc/gists{/gist_id}","starred_url":"https://api.github.com/users/maiamcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maiamcc/subscriptions","organizations_url":"https://api.github.com/users/maiamcc/orgs","repos_url":"https://api.github.com/users/maiamcc/repos","events_url":"https://api.github.com/users/maiamcc/events{/privacy}","received_events_url":"https://api.github.com/users/maiamcc/received_events","type":"User","site_admin":false},"labels":[{"id":1017417857,"node_id":"MDU6TGFiZWwxMDE3NDE3ODU3","url":"https://api.github.com/repos/windmilleng/tilt/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-05-23T17:49:10Z","updated_at":"2019-07-29T16:08:03Z","closed_at":"2019-07-29T16:08:03Z","author_association":"CONTRIBUTOR","body":"In FastBuild, you could specify an entrypoint that would override the existing Dockerfile's entrypoint. (This was useful if e.g., you wanted to use the same Dockerfile for dev and prod, but wanted slightly different behavior in dev; just override the entrypoint.)\r\n\r\nThis functionality is not available with `docker_build` + `live_update`, and probably should be.\r\n\r\nI propose additional syntax for `docker_build`:\r\n\r\n```\r\ndocker_build('my_img_name', './context', entrypoint='dev_thing.sh', live_update=[...])\r\n```\r\n(This functionality could be used with or without `live_update`.)\r\n\r\nNB: this request came in via Mindspace: \r\n> We use the same Dockerfile for dev + production, and the docker \"defaults\" are typically production so anything dev related is an override."},"comment":{"url":"https://api.github.com/repos/windmilleng/tilt/issues/comments/516055885","html_url":"https://github.com/windmilleng/tilt/issues/1680#issuecomment-516055885","issue_url":"https://api.github.com/repos/windmilleng/tilt/issues/1680","id":516055885,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNjA1NTg4NQ==","user":{"login":"maiamcc","id":6332648,"node_id":"MDQ6VXNlcjYzMzI2NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6332648?v=4","gravatar_id":"","url":"https://api.github.com/users/maiamcc","html_url":"https://github.com/maiamcc","followers_url":"https://api.github.com/users/maiamcc/followers","following_url":"https://api.github.com/users/maiamcc/following{/other_user}","gists_url":"https://api.github.com/users/maiamcc/gists{/gist_id}","starred_url":"https://api.github.com/users/maiamcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maiamcc/subscriptions","organizations_url":"https://api.github.com/users/maiamcc/orgs","repos_url":"https://api.github.com/users/maiamcc/repos","events_url":"https://api.github.com/users/maiamcc/events{/privacy}","received_events_url":"https://api.github.com/users/maiamcc/received_events","type":"User","site_admin":false},"created_at":"2019-07-29T16:08:03Z","updated_at":"2019-07-29T16:08:03Z","author_association":"CONTRIBUTOR","body":"I'm gonna go ahead and close this issue, but @dexhorthy lmk when you get a chance to try it/if you run into any problems!"}}
{"actor":{"display_login":"maiamcc"}}