Feature: Add Busybox Binary Version
Closed this issue · 2 comments
My actions before raising this issue
- Followed the troubleshooting guide
- Read/searched the docs
- Searched past issues
Requesting a new feature which allows for a busybox:glibc based docker image. Here is one that I have come up with:
https://github.com/brianwyka/openfaas-templates
The reasons for using busybox:glibc are defined in the README.md, but here is a summary:
- Resolve DNS resolution errors in
alpinecaused bymuslcalternative toglibc
The template also allows for binary executables to be copied to the function into a bin directory, for the golang function handler to call using go exec.
The busybox:glibc image is essentially the same size (just as small) as alpine image as well.
@alexellis, do you see this as a reasonable addition? I was going to settle for using this as a custom template in OpenFaaS community cluster, but I received an error saying that custom templates are not allowed.
Since I am unable to update the gateway config, I'm seeing this as the only alternative...
https://github.com/openfaas/openfaas-cloud/blob/master/gateway_config.yml#L11
Are you not compiling a static binary? Or do you need CGO?
My advice to you is still the same as a couple of weeks ago. Host your own openfaas on managed Kubernetes or with faasd on a single VM.
We have plenty of tutorials on how to do that.
I'll close the issue as I can't see this as benefitting the broader community at present. You can use your own custom template on your own deployment on OpenFaaS.