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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Varnish #1294
Add Varnish #1294
Conversation
Nice to finally see someone take a stab at an official Varnish image! 馃槃 I've got a couple high-level comments/questions to start off the discussion:
|
I reached out to the Varnish community a few weeks ago to solicit feedback, which there was some of but not a ton. I'll send another note out on that thread with an update.
In Varnish 3.0, VMODs (Varnish modules) were compiled against Varnish source. Since Varnish 4.0 VMODs can be compiled against a Varnish installation (not requiring source). However, many VMODs have not been updated to use this mechanism, and will still require Varnish source. Given that, we've found that having source available is a good default for backwards compatibility until more VMODs are updated. (see discussion) |
Oh! That thread is fantastic and really answers both my questions perfectly; thanks for sharing. 馃槃 Your most recent post (https://www.varnish-cache.org/lists/pipermail/varnish-misc/2015-December/024747.html) requesting support for the efforts here is excellent, thanks for doing that. Do you want us to continue review in the meantime, or do you want to wait for a response to make sure we don't waste effort if it turns out the project would rather we not continue? |
Yes, let's hold on a response. |
Thanks for doing this. In lieu of an official image I'm going to go use yours 馃憤 |
Shouldn't you also cleanup src folder |
@avoinea Some Varnish modules need to be built with Varnish source. See #1294 (comment) |
- As there is an official PR for an official varnish image at docker-library/official-images#1294 - Add varnish-modules; - Support saintmode backends out-of-the-box;
Would be great to see a official Varnish image, lowers the barrier for using Varnish locally, for testing, and on some server setups. At least that is what I need it for :) However the proposed image does not seem to be usable as is like other official images. IMO purpose of an official image should be that it can be used out of the box, and extended if you need more modules/plugins/* => VMODs, not just as a base image. So a propoer entrypoint is at least needed here. Also, maybe add an Alpine variant without the source to give incentive to users/maintainers of VMODs to update? |
@andrerom The original repo seems to be inactive. We've forked it here: https://github.com/tripviss/docker-varnish Hoping to make it better... |
@ericandrewlewis do you think we've given upstream enough time to raise objections at this point? Any value in continuing to press them, or do you think we should press forward? It looks like you've got some interested co-conspirators now. 馃槃 |
I think we've given upstream enough time, yeah. The Varnish core team seems rather neutral on the topic, and if they ever want to get more involved I'm sure they could. I can't commit to being a maintainer at this point, so I leave it to y'all to decide what to do going forward here. Cheers! |
馃憤 I also have the impression they won't handle this but don't mind others do it. For official image, what about adding a few things:
|
Thanks @ericandrewlewis 鉂わ笍 馃憤 I hope you don't mind if I close this -- if another group takes up the torch, they should refer back to this discussion! 馃 |
Hi,
we've open sourced our Varnish Dockerfile and would like to contribute it to the community 馃槃
Checklist for Review
foobar
needs Node.js, hasFROM node:...
instead of grabbingnode
via other means been considered?)ifFROM scratch
, tarballs only exist in a single commit within the associated history?