Comments (5)
good point, will try to look into this in the next couple days
from docker-nginx-brotli.
Thanks @fholzer!
50% image size reduction seems nice.
Wanted to share a completely unscientific data point of the runtime memory difference as reported by docker stats
.
I'm running just a SPA app -- local dev only, nothing production. So just a small/trivial data point, with that said, I was curious to see MEM USAGE
1.16.1
Could be completely unrelated to the Perl removal, not sure, but maybe it's possible there could be a small reduction in memory usage too.
Either way, nice work and danke!
from docker-nginx-brotli.
This appears to be the relevant commit that introduced the Perl module.
nginxinc/docker-nginx@89f7997
Curious, do you happen to know why Perl was introduced upstream? Maybe the nginx Docker maintainers are targeting specific customer(s) that use Perl?
Not having used Perl on the web since the Movable Type days it seems a bit unusual to ship it in the 'generic' nginx image. But perhaps there's a good reason; would be interested to learn why.
from docker-nginx-brotli.
@fholzer Not sure if you needed Perl for your purposes -- what are your thoughts? I ask b/c both @btmorex and an nginx Docker maintainer, @thresheek seem to avoid it:
the default "latest" or similar images do not have it.
Would you be open to a PR? What's your take on it?
from docker-nginx-brotli.
As perl is rarely used I'm more than OK with removing it from my image, though I won't be maintaining a separate image for it. I hope no one counts on it being supported.
Latest table stable and mainline version images are updated and no longer include perl:
- latest (master/stable)
- v1.18.0
- mainline
- v1.19.1 (still building)
from docker-nginx-brotli.
Related Issues (19)
- Docker image contains security issues
- manifest for fholzer/nginx-brotli:1.14.0 not found HOT 2
- Nginx does not recognize Brotli HOT 3
- Alpine 3.8 support? HOT 5
- Upgrade to nginx 1.14.1
- does this support precompressed .gz, .br assets? HOT 1
- Use ARG instead of ENV in Dockerfile? HOT 2
- `envsubst` stopped working HOT 6
- arm64 build HOT 8
- Would you consider adding a license? HOT 2
- `STOPSIGNAL SIGTERM` directive does not correspond with nginx control signals HOT 1
- [Security] Image is using vulnerable version of alpine 3.12.0 HOT 2
- switch to github actions, support other platforms
- Tag latest with a specific verison HOT 8
- Local docker command starts breaking HOT 2
- sed in bash script, not working HOT 2
- Out of date nginx version 1.20.2 HOT 1
- Docker build failing at "git remote add origin" step HOT 4
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 docker-nginx-brotli.