by reacharavindh · 8y ago · 0 comments
Those tools aren't optimized for running arbitrary binaries - hence containers.
It feels so good to skip over all the Docker tools, config and services to build a Go app.
I wrote up more details here:
https://github.com/nzoschke/gofaas/blob/master/docs/dev-pack...
I wrote up some documentation about this for my use case just in case I ever have to go back and change it.
You can see it here: https://fn.lc/post/docker-scratch/
Please don't run untrusted code in Docker, it's not designed for security.
https://security.stackexchange.com/questions/107850/docker-a...
Also, port and volume mapping, so the container/go binary does not need to know physical/host pathnames to data files.