<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Eric,<br>
<br>
The way I'm reading this dockerfile, you're using the official
debian 8 (already compiled) varnish package?<br>
<br>
Perhaps a bit off-topic, but it's generally a good approach to build
from source -- and using a build system to allow quick distribution
of alternate versions (such as running a specific commit/release).
So I think building from source does make sense. <br>
<br>
Docker plays very nicely here with with flexible version-tagging of
images and 1.9 supports build arguments. Also helpful to offer more
base images, and recommend alpine:latest as a lightweight
alternative to debian:jessie (haven't personally compiled varnish on
busybox/musl, although 4.1.0 exists as an alpine package). <br>
<br>
<br>
~ Brice<br>
<br>
<div class="moz-cite-prefix">On 12/09/2015 12:55 PM, Lewis, Eric
wrote:<br>
</div>
<blockquote
cite="mid:CANSkH2qRTCgEbhpvPouRGndsaFWOFvsZ=v=BBGFVSDbu+TbhSw@mail.gmail.com"
type="cite">
<div dir="ltr">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
style="font-size:12.8px">Not a big deal, since the Docker
containers will presumably be for </span><span
style="font-size:12.8px">specific versions. It's just for
the 4.x containers, the sources won't </span><span
style="font-size:12.8px">be necessary, at least not for
building VMODs.</span></blockquote>
<div><br>
</div>
This is great to hear! I've <a moz-do-not-send="true"
href="https://gist.github.com/ericandrewlewis/20d531d190d71e92f3b6">put
together a quick Dockerfile</a> that uses Debian packages to
install the latest stable (4.0.3). On top of this, I was able to
install the <a moz-do-not-send="true"
href="https://github.com/varnish/libvmod-example">example
module</a> with ease.
<div><br>
</div>
<div>However, other Varnish modules <a moz-do-not-send="true"
href="https://github.com/Dridi/libvmod-querystring/issues/16">can't
be built so easily on 4.0 yet</a>. Module authors need to
update their modules to build from the Varnish installation
with 4.0 instead of from source. Perhaps we could reach out to
the VMOD developer community about this.</div>
<div><br>
</div>
<div>Until there's more support for this in modules, installing
Varnish from source seems like the best default, so users
don't get burned.</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><font face="arial, helvetica,
sans-serif">Eric Lewis</font>
<div><font face="arial, helvetica, sans-serif">Web
Developer, Interactive News</font></div>
<div><font face="arial, helvetica, sans-serif"
color="#cccccc">The New York Times</font></div>
<div><font face="arial, helvetica, sans-serif"
color="#cccccc">620 Eighth Avenue, 2nd Floor</font></div>
<div><font face="arial, helvetica, sans-serif"
color="#cccccc">New York, NY 10018</font></div>
<div><font face="arial, helvetica, sans-serif"
color="#cccccc">Office: (212) 556-2081</font></div>
<div><font face="arial, helvetica, sans-serif"
color="#cccccc">Cell: (610) 715-8560</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Dec 9, 2015 at 4:57 AM, Geoff
Simmons <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:geoff@uplex.de" target="_blank">geoff@uplex.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN
PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<span class=""><br>
On 12/08/2015 10:33 PM, Lewis, Eric wrote:<br>
><br>
> I'd like to solicit feedback from you and invite the
Varnish<br>
> community to contribute to this effort.<br>
><br>
> Most Dockerfiles install Varnish via a linux package
manager,<br>
> which makes it impossible to install VMODs because
they need to be<br>
> compiled against Varnish source.<br>
<br>
</span>That's true of Varnish 3.x, but not since 4.0 --
VMODs are now built<br>
against a Varnish installation, which has all of the
necessary headers<br>
and libs. It should be enough just to have pkg-config return
the<br>
correct information for 'varnishapi', which will be the case
without<br>
further intervention in a default Varnish installation.<br>
<br>
Not a big deal, since the Docker containers will presumably
be for<br>
specific versions. It's just for the 4.x containers, the
sources won't<br>
be necessary, at least not for building VMODs.<br>
<br>
<br>
Best,<br>
Geoff<br>
- --<br>
** * * UPLEX - Nils Goroll Systemoptimierung<br>
<br>
Scheffelstraße 32<br>
22301 Hamburg<br>
<br>
Tel <a moz-do-not-send="true"
href="tel:%2B49%2040%202880%205731" value="+494028805731">+49
40 2880 5731</a><br>
Mob <a moz-do-not-send="true"
href="tel:%2B49%20176%20636%2090917"
value="+4917663690917">+49 176 636 90917</a><br>
Fax <a moz-do-not-send="true"
href="tel:%2B49%2040%2042949753" value="+494042949753">+49
40 42949753</a><br>
<br>
<a moz-do-not-send="true" href="http://uplex.de"
rel="noreferrer" target="_blank">http://uplex.de</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
<br>
iQIcBAEBCAAGBQJWZ/rjAAoJEOUwvh9pJNURoX4QAK9Ds9lgBlISF1CrDntwAChe<br>
ZX3cHXPcCaE+mUR8t+ESKF6I1t9ewf9jFVjrHi2oW6ZVHUAx+fQbdEvULi4PzfUj<br>
zumWrtzOA9kAx55ECBBCOxthZ7fLyDKSZxrJxeJVMpm5p4L46KyjEUUEDdm/FLZN<br>
cWUTIweHdfgroW+7McqxFlVRMiDDUEcoBXoAI9P23BXVl3doKBx/bAfyZUR6yn0y<br>
ESdZVKhlH2cdN1tFSuFO/v6Qd6YrhMPyG30d94UgZ1pUmzpqKNSQx4SkX1LU5jzx<br>
XJMXC9AcJzFTzMdGRfIOHFu0Opx2QIRQii5AOd58Bv3HmEjpZJFnJuwclfkSBxPK<br>
4ASI3/Q/8LL3u5s2XGT7R4qNK095swP9kYPLDAclBMe/VDNyBpwdkbOm69yr3rhk<br>
j0u0ErkDUFOVucS5jXSt9LxS/7EX5WexDNIrQA+E8Uab2IbzaznMKS/xgKfrHcl1<br>
WZSwTj/2in8QqaxIzYKAVjrXlRgEnn0QAR6+ZKe0+Str0I4BMw0zJ6Yb+DLJlw0t<br>
cKfBZ9rNLr+MqAsJ7YMyhHUgmuI9LIyHWr/hbhgqccM5LIURy7ZGISJ5MrAUyi1k<br>
9ONKivNZc4Y+oAsQLxFhfwRWQ39ExerJMNjWIEx3SxpV+DEFk5iJ7RBT4KY3mfXe<br>
E4VJJ+ueBbfztEHaaFG2<br>
=jo7N<br>
-----END PGP SIGNATURE-----<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
varnish-misc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></pre>
</blockquote>
<br>
</body>
</html>