{"action":"closed","issue":{"url":"https://api.github.com/repos/keycloak/keycloak-gatekeeper/issues/252","repository_url":"https://api.github.com/repos/keycloak/keycloak-gatekeeper","labels_url":"https://api.github.com/repos/keycloak/keycloak-gatekeeper/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/keycloak/keycloak-gatekeeper/issues/252/comments","events_url":"https://api.github.com/repos/keycloak/keycloak-gatekeeper/issues/252/events","html_url":"https://github.com/keycloak/keycloak-gatekeeper/issues/252","id":243728093,"node_id":"MDU6SXNzdWUyNDM3MjgwOTM=","number":252,"title":"Multi-stage Dockerfile","user":{"login":"jangaraj","id":1182932,"node_id":"MDQ6VXNlcjExODI5MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1182932?v=4","gravatar_id":"","url":"https://api.github.com/users/jangaraj","html_url":"https://github.com/jangaraj","followers_url":"https://api.github.com/users/jangaraj/followers","following_url":"https://api.github.com/users/jangaraj/following{/other_user}","gists_url":"https://api.github.com/users/jangaraj/gists{/gist_id}","starred_url":"https://api.github.com/users/jangaraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangaraj/subscriptions","organizations_url":"https://api.github.com/users/jangaraj/orgs","repos_url":"https://api.github.com/users/jangaraj/repos","events_url":"https://api.github.com/users/jangaraj/events{/privacy}","received_events_url":"https://api.github.com/users/jangaraj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-18T14:05:36Z","updated_at":"2018-10-01T13:56:34Z","closed_at":"2018-10-01T13:56:34Z","author_association":"CONTRIBUTOR","body":"Hi Rohith,\r\n\r\nThanks for your project. \r\n\r\nDocker now supports [multi stage builds](https://docs.docker.com/engine/userguide/eng-image/multistage-build/), which is great feature for compilation. Could you add `Dockerfile_multistage` file into repo please? `MAINTAINER` is also deprecated. Minimalist example (~10MB image size):\r\n\r\n```\r\nLABEL Name=keycloak-proxy \\\r\n     maintainer=\"Rohith Jayawardene <gambol99@gmail.com>\" \\\r\n     Release=https://github.com/gambol99/keycloak-proxy \\\r\n     Url=https://github.com/gambol99/keycloak-proxy \\\r\n     Help=https://github.com/gambol99/keycloak-proxy/issues\r\n\r\nFROM golang:1.8 as build\r\nRUN go get -d github.com/gambol99/keycloak-proxy \\\r\n  && cd /go/src/github.com/gambol99/keycloak-proxy \\\r\n  && make static\r\n\r\nFROM ubuntu as cert\r\nRUN apt-get update && apt-get install -y ca-certificates\r\n\r\nFROM scratch\r\nWORKDIR /\r\nCOPY --from=build /go/src/github.com/gambol99/keycloak-proxy/bin/keycloak-proxy /\r\nCOPY --from=cert /etc/ssl/certs /etc/ssl/certs\r\n\r\nCMD [\"/keycloak-proxy\"]\r\n```"}}
{"actor":{"display_login":"abstractj"}}