5 ms·
Since it's not using a multi-stage build, go dev tools are clogging up the image, losing the benefit of using alpine in the first place. https://link.medium.co
by ImJasonH 7y ago
Since it's not using a multi-stage build, go dev tools are clogging up the image, losing the benefit of using alpine in the first place.
https://link.medium.com/S2z0PtVHQ1 https://link.medium.com/S2z0PtVHQ1
If you're just running a go binary you can use distroless as the base for even smaller images.
- karlkeefer 7y agoThanks for linking this. Will implement. Also like the "tags" within the dockerfile for dev and prod - much cleaner than the multi-file solution currently in the repo.