{"id":21273265,"url":"https://github.com/sclorg/nginx-container","last_synced_at":"2025-05-16T10:07:31.768Z","repository":{"id":9487630,"uuid":"58395854","full_name":"sclorg/nginx-container","owner":"sclorg","description":"Nginx high-performance HTTP server and reverse proxy 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":"2025-05-14T09:57:30.000Z","size":574,"stargazers_count":94,"open_issues_count":14,"forks_count":196,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-14T10:54:27.674Z","etag":null,"topics":["centos","container","docker","dockerfile","fedora","http","nginx","reverse-proxy","rhel"],"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,"zenodo":null}},"created_at":"2016-05-09T17:39:52.000Z","updated_at":"2025-05-06T11:36:41.000Z","dependencies_parsed_at":"2024-01-03T13:32:21.910Z","dependency_job_id":"d6d078ac-91d4-4efa-bafd-3658e2671308","html_url":"https://github.com/sclorg/nginx-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%2Fnginx-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fnginx-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fnginx-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fnginx-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sclorg","download_url":"https://codeload.github.com/sclorg/nginx-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509476,"owners_count":22082891,"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","http","nginx","reverse-proxy","rhel"],"created_at":"2024-11-21T09:13:15.058Z","updated_at":"2025-05-16T10:07:26.759Z","avatar_url":"https://github.com/sclorg.png","language":"Shell","readme":"Nginx container images\n======================\n\n[![Build and push container images to quay.io registry](https://github.com/sclorg/nginx-container/actions/workflows/build-and-push.yml/badge.svg)](https://github.com/sclorg/nginx-container/actions/workflows/build-and-push.yml)\n\nImages available on Quay are:\n* CentOS Stream 9 [nginx-1.20](https://quay.io/repository/sclorg/nginx-120-c9s)\n* CentOS Stream 9 [nginx-1.24](https://quay.io/repository/sclorg/nginx-124-c9s)\n* CentOS Stream 10 [nginx-1.26](https://quay.io/repository/sclorg/nginx-126-c10s)\n* Fedora [nginx-1.20](https://quay.io/repository/fedora/nginx-120)\n* Fedora [nginx-1.22](https://quay.io/repository/fedora/nginx-122)\n* Fedora [nginx-1.24](https://quay.io/repository/fedora/nginx-124)\n* Fedora [nginx-1.26](https://quay.io/repository/fedora/nginx-126)\n* Micro CentOS Stream 9 [nginx-1.22](https://quay.io/repository/sclorg/nginx-122-micro-c9s)\n* Micro Fedora [nginx-1.22](https://quay.io/repository/fedora/nginx-122-micro)\n\n\nThis repository contains Dockerfiles for Nginx images for OpenShift.\nUsers can choose between RHEL, Fedora, CentOS and CentOS Stream based images.\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\nVersions\n--------\nNginx versions currently provided are:\n* [nginx-1.20](1.20)\n* [nginx-1.22](1.22)\n* [nginx-1.22 micro](1.22-micro)\n* [nginx-1.24](1.24)\n* [nginx-1.26](1.26)\n\nRHEL versions currently supported are:\n* RHEL8\n* RHEL9\n* RHEL10\n\nCentOS Stream versions currently supported are:\n* CentOS Stream 9\n* CentOS Stream 10\n\n\nInstallation\n----------------------\nChoose either the CentOS Stream 9 or RHEL8 based image:\n\n*  **RHEL8 based image**\n\n    These images are available in the [Red Hat Container Catalog](https://access.redhat.com/containers/#/registry.access.redhat.com/rhel8/nginx-124).\n    To download it run:\n\n    ```\n    $ podman pull registry.access.redhat.com/rhel8/nginx-124\n    ```\n\n    To build a RHEL8 based Nginx image, you need to run Docker build on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/nginx-container.git\n    $ cd nginx-container\n    $ git submodule update --init\n    $ make build TARGET=rhel8 VERSIONS=1.24\n    ```\n\n*  **CentOS Stream based image**\n\n    This image is available on DockerHub. To download it run:\n\n    ```\n    $ podman pull quay.io/sclorg/nginx-124-c9s\n    ```\n\n    To build a CentOS based Nginx image from scratch, run:\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/nginx-container.git\n    $ cd nginx-container\n    $ git submodule update --init\n    $ make build TARGET=c9s VERSIONS=1.24\n    ```\n\nFor using other versions of Nginx, just replace the `1.24` value by particular version\nin the commands above.\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 Nginx, which must be specified in  `VERSIONS` variable.\nThis variable must be set to a list with possible versions (subdirectories).**\n\n\nUsage\n-----\n\nFor information about usage of Dockerfile for nginx 1.20,\nsee [usage documentation](1.20).\n\nFor information about usage of Dockerfile for nginx 1.22,\nsee [usage documentation](1.22).\n\nFor information about usage of Dockerfile for nginx 1.24,\nsee [usage documentation](1.24).\n\nFor information about usage of Dockerfile for nginx 1.26,\nsee [usage documentation](1.26).\n\nBuild\n-----\nImages can be built using `make` command.\n\n```\n$ cd nginx-container\n$ git submodule update --init\n$ make build TARGET=rhel8 VERSIONS=1.22\n```\n\nFor more information about make rules see [README](https://github.com/sclorg/container-common-scripts/blob/master/README.md).\n\nTest\n---------------------------------\n\nThis repository also provides a test framework, which checks basic functionality\nof the Nginx image.\n\nUsers can choose between testing Nginx based on a RHEL or CentOS image.\n\n*  **RHEL based image**\n\n    To test a RHEL8 based Nginx image, you need to run the test on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ cd nginx-container\n    $ git submodule update --init\n    $ make test TARGET=rhel8 VERSIONS=1.24\n    ```\n\n*  **CentOS Stream based image**\n\n    ```\n    $ cd nginx-container\n    $ git submodule update --init\n    $ make test TARGET=c9s VERSIONS=1.24\n    ```\n\nFor using other versions of Nginx, just replace the `1.24` value by particular version\nin the commands above.\n\n**Notice: By omitting the `VERSIONS` parameter, the build/test action will be performed\non all provided versions of Nginx, which must be specified in  `VERSIONS` variable.\nThis variable must be set to a list with possible versions (subdirectories).**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fnginx-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsclorg%2Fnginx-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fnginx-container/lists"}