This is the source repository used to build the official Varnish Docker image and the Varnish Enterprise image
Don't hesitate to open github issues if something is unclear or impractical. You can also join us on discord.
The official Varnish image tracks three different versions using distinct directories:
fresh/: the latest release.old/: the release beforefresh.stable/: an Long-Term Support (LTS) release that will receive bug and security fixes even though it's not the latest one. Right after an LTS release,stable/andfresh/are identical.
New major/minor versions are released on the 15th of March and of September, this is when the fresh and stable labels are reevaluated.
In addition, if present, the next/ directory is a copy of fresh/ with breaking changes that must wait for the the next release to be published. This image isn't available on the Docker hub.
For Varnish Enterprise, we only use enterprise/.
tests/ holds image tests, grouped in suites (one directory per image family):
docker build -t enterprise-test enterprise/debian
tests/run.sh enterprise-test enterprise # whole suite
tests/run.sh enterprise-test enterprise uids # single testA test is an executable tests/SUITE/NAME.sh receiving the image name as $1 (also exported as IMAGE) and failing with a non-zero exit status. Source tests/lib.sh for helpers (in_image, assert_file_eq, fail), and keep expected data next to the test (e.g. tests/enterprise/uids.expected).