-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add alpine variant #62
Comments
What is the point of maintaining a build for a small obscure linux distro? I really do not understand. The packaging sources are available on http://hg.nginx.org/pkg-oss/. |
The point would be to provide a significantly smaller alternative for docker users. As you see the alpine docker image is 95% smaller (6.2MB vs 133.8MB). For users who roll out more than 20 nginx instances using docker this may mean:
But of course, all of this is completely pointless if you only deploy 1 instance or if you don't use docker in the first place. Maintaining a nginx build against musl libc will also confirm that the code quality is high when it comes to portability - which it is. nginx has built on alpine linux without any issues since 2010. Where can i find the compile options that you use for the maintained builds for the big non-obscure distros? Thanks! |
Oh ok, that sounds great indeed. I'm fine with introducing those builds provided that would not add much maintenance burden. If you could provide Dockerfiles and needed changes for that repo and docker-library, that would be awesome. I've linked the compile options (as packaging sources) in the previous comment. Thanks! |
@ncopa Here is the |
Thanks! |
+1 Thanks @ncopa, I love the idea. |
@thresheek What is the Docker Hub link? I did not find the new tags. |
@hbrls does not look like the PR is merged yet: docker-library/official-images#1462 I guess maintainers are quite busy with the libc6 CVE fallout, so cant blame really. Let's be patient. :-) |
@thresheek I thought this was the official repo. Now I know it's the child repo. 👏 |
It is official by means that the actual development is going on here. docker-library/official-images is the way to propagate the tags to docker registry / hub. |
It would be nice with an nginx:alpine variant:
The image above uses the distro provided nginx package:
I can probably help with either building an official nginx repository for alpine and use that as base for a docker image, or I can help you with building it from sources if you can point me to where I can find the compile options used for
deb http://nginx.org/packages/mainline/debian/ jessie nginx
The text was updated successfully, but these errors were encountered: