Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Using scratch image and build for smaller better Docker image #36

Merged
merged 1 commit into from
Dec 6, 2019
Merged

Using scratch image and build for smaller better Docker image #36

merged 1 commit into from
Dec 6, 2019

Conversation

chiqomar
Copy link

@chiqomar chiqomar commented Nov 8, 2019

Builds from the code, instead of doing a go get, then copies the binary to a scratch image, where it can run happily.
Goes from an almost ~600MB image to <7MB

@damoun
Copy link

damoun commented Nov 11, 2019

Hi @chiqomar, thanks for your PR, it is really appreciated!

I made a few comments so can you review them ?

@rockyluke rockyluke merged commit 878f34b into veepee-oss:master Dec 6, 2019
@chiqomar chiqomar deleted the scratch-docker branch January 9, 2020 20:55
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.

3 participants