[ANN] glv.one - Gemini PaaS

colecmac at protonmail.com colecmac at protonmail.com
Sat Aug 29 20:39:17 BST 2020


Hello Peter,

This looks awesome! Thanks for making it free, it's a nice service for
the community. And using Docker images is an interesting way to do this,
was it your idea? I like it.

One thing I noticed is that in your example you show a docker container
on Alpine, and building the Linux binary like this:

> `GOOS=linux GOARCH=amd64 go build`

Beware, if you're building a Go app on Linux, on a platform that's not
Alpine, your code may fail to run! Because Alpine uses musl instead of
libc. Some solutions:

- Build the binary in the docker container, and use multi-stage builds
  to reduce size
- Build with CGO_ENABLED=0 to not link to any C libs
- Base your docker image on Debian/Ubuntu instead of Alpine

Hope that's helpful.


Two more things.

Are you thinking about putting these instructions up on
the capsule itself? Right now glv.one just says to email you, but it'd be
nice if you pasted your email on their to give people an idea of what
they could do.

And finally, is the source code of this platform available? I think I'm
becoming the Gemini source code guy at this point, but I think it's
important.

Cheers,
makeworld


More information about the Gemini mailing list