Skip to content

About

Official docker image

Resources

Stars

85 stars

Watchers

31 watching

Forks

Repository files navigation

Docker Pulls GitHub CI build status badge Documentation

Official Varnish Docker image

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.

Directories

The official Varnish image tracks three different versions using distinct directories:

  • fresh/: the latest release.
  • old/: the release before fresh.
  • 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/ and fresh/ 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

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 test

A 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).

About

Official docker image

Resources

Stars

85 stars

Watchers

31 watching

Forks

Releases

Packages

Used by

Contributors

Languages