Hi Constantine, In our project we'd chosen debian-slim images vs alpine few years ago due to a number of reasons, if I recall arguments were like:
1. presence of libc 2. bugs and performance issues of alpine 3. security issues of alpine 4. debian is more suitable for testing with huge amount of tools available out of the box, if needed After all, talking about saving few tens of megs of hdd space per image (it's the main reason for ppl selecting alpine) is ridiculous nowadays IMO. среда, 16 декабря 2020 г. в 20:10:49 UTC+3, Constantine Vassilev: > What about the size of images? For pure Golang project what are the > advantages of glibc? > > For a project I have to present pro and cons before the team to decide. > > On Tuesday, December 15, 2020 at 6:03:29 PM UTC-8 amits...@gmail.com > wrote: > >> >> >> On Wed, 16 Dec 2020, 12:38 pm Constantine Vassilev, <ths...@gmail.com> >> wrote: >> >>> All examples in Google Cloud Run for building >>> Golang Docker images are based on Debian. >>> >>> FROM golang:alpine AS builder >>> ... >>> FROM debian:buster-slim >>> ... >>> >>> What are debian:buster-slim advantages vs alpine ones? >>> >> >> Besides the size of the images, one key difference would be the >> underlying C library - Debian would be glibc and Alpine would be libmusl >> >> So advantages would be if knowing that libc is available. >> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "golang-nuts" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to golang-nuts...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/golang-nuts/2433a1dd-c3ea-4c5c-9f6e-d1595cef99f9n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/golang-nuts/2433a1dd-c3ea-4c5c-9f6e-d1595cef99f9n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/9f0bd697-286f-455a-afef-4a49e98fea80n%40googlegroups.com.