Comments (3)
Hi @hazcod Alpine Linux was chosen as a base image for a reason and barely adds any additional size to the image. You are free to fork the templates and customise as you wish.
We also don't encourage people to raise PRs without approval / discussion. See the contribution guide: https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md#i-have-a-great-idea
Alex
from golang-http-template.
Hi Alex, where can I take this up for discussion? The main reason I propose this change is to have secure defaults for users that wouldn't change the template and use basic Go functions. Any advanced user will have to fork either way it since it's read-only.
It's easy to run an old(er) linux distribution and leave all those packages lying around.
Not to mention, it might be nice to easily swap the compiler to e.g. debian-based to not have musl.
from golang-http-template.
Thanks for your interest.
We would be more likely to move to distroless than SCRATCH, but then a secondary debug container is required for all templates in order to shell into containers and have tools during development.
If the community templates are not to your taste then you're welcome to fork and maintain your own.
from golang-http-template.
Related Issues (20)
- Go modules - unable to get a sub-package to work HOT 7
- Graceful shutdown for Kubernetes
- Broken link to golang-middleware section of README.md HOT 1
- golang-http does not allow graceful request cancelling HOT 5
- Improve caching for sub-package cache HOT 1
- not set ADDITIONAL_PACKAGE arg HOT 3
- Add multi-arch support, with fallback to current behaviour HOT 3
- Feature: Add Busybox Binary Version HOT 2
- received non-zero exit code from build, error: invalid platform architecture "amd64}" HOT 1
- Getting `go: inconsistent vendoring` error when a module is located within function HOT 23
- Cannot find package HOT 2
- Enable Go modules as a default HOT 3
- Cannot build with go modules HOT 7
- Use of-watchdog 0.9.3 to suppress custom health check logging messages
- Replace ioutil HOT 3
- Add a GitHub Action to do a test build for both templates HOT 1
- Cannot publish Function after updating template HOT 7
- Unable to use vendoring with golang-http HOT 16
- chore: remove unused atomic int
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golang-http-template.