{"id":21273278,"url":"https://github.com/sclorg/varnish-container","last_synced_at":"2025-07-11T06:33:06.150Z","repository":{"id":8505940,"uuid":"58654201","full_name":"sclorg/varnish-container","owner":"sclorg","description":"Varnish HTTP Cache container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.","archived":false,"fork":false,"pushed_at":"2024-08-21T12:34:20.000Z","size":233,"stargazers_count":7,"open_issues_count":1,"forks_count":25,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-21T17:03:00.727Z","etag":null,"topics":["centos","container","docker","dockerfile","fedora","openshift","rhel","s2i","source-to-image"],"latest_commit_sha":null,"homepage":"http://softwarecollections.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sclorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-12T15:33:53.000Z","updated_at":"2024-08-21T12:44:19.000Z","dependencies_parsed_at":"2023-10-02T17:57:11.931Z","dependency_job_id":"2caf8329-2db2-4ccf-ba3c-e1db0479f66a","html_url":"https://github.com/sclorg/varnish-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fvarnish-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fvarnish-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fvarnish-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fvarnish-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sclorg","download_url":"https://codeload.github.com/sclorg/varnish-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225700924,"owners_count":17510448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos","container","docker","dockerfile","fedora","openshift","rhel","s2i","source-to-image"],"created_at":"2024-11-21T09:13:17.318Z","updated_at":"2025-07-11T06:33:06.136Z","avatar_url":"https://github.com/sclorg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Varnish HTTP accelerator container images\n=========================================\n\n[![Build and push images to Quay.io registry](https://github.com/sclorg/varnish-container/actions/workflows/build-and-push.yml/badge.svg)](https://github.com/sclorg/varnish-container/actions/workflows/build-and-push.yml)\n\nImages available on Quay are:\n* CentOS Stream 9 [varnish-6](https://quay.io/repository/sclorg/varnish-6-c9s)\n* CentOS Stream 10 [varnish-6](https://quay.io/repository/sclorg/varnish-7-c10s)\n* Fedora [varnish-7](https://quay.io/repository/fedora/varnish-7)\n\nThis repository contains Dockerfiles for Varnish HTTP accelerator images.\nUsers can choose between RHEL, CentOS, CentOS Stream 8, CentOS Stream 9 and Fedora based images.\n\n\nVersions\n---------------\nVarnish versions currently provided are:\n* [varnish-6](./6)\n* [varnish-7](./7)\n\nRHEL versions currently supported are:\n* RHEL8\n* RHEL9\n* RHEL10\n\nCentOS versions currently supported are:\n* CentOS Stream 9\n* CentOS Stream 10\n\nFor more information about contributing, see\n[the Contribution Guidelines](https://github.com/sclorg/welcome/blob/master/contribution.md).\nFor more information about concepts used in these container images, see the\n[Landing page](https://github.com/sclorg/welcome).\n\n\nInstallation\n---------------\nTo build a Varnish image, choose either the CentOS Stream or RHEL based image:\n* **RHEL based image**\n\n    These images are available in the [Red Hat Container Catalog](https://catalog.redhat.com/software/containers/rhel8/varnish-6/5ba0ae68bed8bd6ee8198613?container-tabs=overview).\n    To download it run:\n\n    ```\n    $ podman pull registry.redhat.io/rhel8/varnish-6\n    ```\n\n    To build a RHEL based Varnish image, you need to run the build on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/varnish-container.git\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make build TARGET=rhel8 VERSIONS=6\n    ```\n* **CentOS Stream based image**\n\n    This image is available on Quay.io. To download it run:\n\n    ```\n    $ podman pull quay.io/sclorg/varnish-6-c9s\n    ```\n\n    To build a CentOS Varnish image from scratch run:\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/varnish-container.git\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make build TARGET=c9s VERSIONS=6\n\n* **Fedora based image**\n\n    You need to build the Fedora variant locally:\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/varnish-container.git\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make build TARGET=fedora VERSIONS=7\n    ```\n\nNote: while the installation steps are calling `podman`, you can replace any such calls by `docker` with the same arguments.\n\n**Notice: By omitting the `VERSIONS` parameter, the build/test action will be performed\non all provided versions of Varnish.**\n\n\n\nContributing\n------------\n\nIn this repository [distgen](https://github.com/devexp-db/distgen/) is used for generating image source files. If you'd like update a Dockerfile, please make changes in specs/multispec.yml and/or Dockerfile.template (or other distgen file) and run `make generate`.\n\n\nUsage\n-----\nFor information about usage of Dockerfile for Varnish 6,\nsee [usage documentation](https://github.com/sclorg/varnish-container/6).\n\nFor information about usage of Dockerfile for Varnish 7,\nsee [usage documentation](https://github.com/sclorg/varnish-container/7).\n\nTest\n----\nThis repository also provides a [S2I](https://github.com/openshift/source-to-image) test framework,\nwhich launches tests to check functionality of a simple Varnish application built on top of the Varnish image.\n\nUsers can choose between testing a Varnish test application based on a RHEL or CentOS image.\n\n* **RHEL based image**\n\n    To test a RHEL8 based Varnish image, you need to run the test on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make test TARGET=rhel8 VERSIONS=6\n    ```\n\n* **CentOS Stream based image**\n\n   ```\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make test TARGET=c9s VERSIONS=6\n    ```\n\n* **Fedora based image**\n\n    ```\n    $ cd varnish-container\n    $ git submodule update --init\n    $ make test TARGET=fedora VERSIONS=7\n    ```\n\n**Notice: By omitting the `VERSIONS` parameter, the build/test action will be performed\non all provided versions of Varnish.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fvarnish-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsclorg%2Fvarnish-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fvarnish-container/lists"}