Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce docker image size #41

Closed
PrasadG193 opened this issue Feb 28, 2019 · 0 comments
Closed

Reduce docker image size #41

PrasadG193 opened this issue Feb 28, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PrasadG193
Copy link
Collaborator

Currently, docker image size is around 572 MB. The major reason behind that is, we are coping source code into the docker base image and building the binary there (https://github.com/infracloudio/botkube/blob/develop/build/Dockerfile). Instead we should be generating binary on local env and copy that binary into the docker image.
So we should have architecture specific build scripts (atleast linux/amd64 for now) which will generate binary and we should modify Dockerfile to just copy generated binary to docker image.
Something like this: https://github.com/fission/fission-workflows/tree/master/build

@sanketsudake sanketsudake added the bug Something isn't working label Feb 28, 2019
sanketsudake added a commit that referenced this issue Mar 4, 2019
…mage

Issue #41: Updated Dockerfile for multi-stage build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants