Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Use multi-stage build to eliminate build tools from final image #57

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

darend
Copy link
Contributor

@darend darend commented Apr 11, 2018

what

Use multi-stage build to eliminate build tools from final image

why

The current image being published includes many of the compiler tools that are needed to install ruby and its dependencies. Using a multi-stage build ensures none of them are included in the final image

Image Size

sumologic/fluentd-kubernetes-sumologic   multi-stage                                32c373c7592c        16 minutes ago      194MB
sumologic/fluentd-kubernetes-sumologic   v1.9                                       ce992d00649a        About an hour ago   342MB

Lingering packages in existing image
image

@frankreno frankreno merged commit d3ddfea into SumoLogic:master Apr 16, 2018
@darend darend deleted the multi-stage-builds branch April 16, 2018 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants