{"id":13405933,"url":"https://github.com/sclorg/mysql-container","last_synced_at":"2025-05-16T04:06:25.679Z","repository":{"id":27539026,"uuid":"31020442","full_name":"sclorg/mysql-container","owner":"sclorg","description":"MySQL 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-03-27T10:14:58.000Z","size":679,"stargazers_count":129,"open_issues_count":29,"forks_count":203,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-01T13:05:25.195Z","etag":null,"topics":["centos","container","database","docker-image","dockerfile","fedora","mysql","openshift","rhel","sql"],"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":"2015-02-19T15:03:58.000Z","updated_at":"2025-03-27T10:15:00.000Z","dependencies_parsed_at":"2023-01-14T06:58:25.533Z","dependency_job_id":"cb83627a-5382-42cb-b2a8-d00365c8c54e","html_url":"https://github.com/sclorg/mysql-container","commit_stats":{"total_commits":417,"total_committers":45,"mean_commits":9.266666666666667,"dds":0.7865707434052758,"last_synced_commit":"5f4005e35a9214fa6fb49add785a4ca47f868202"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fmysql-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fmysql-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fmysql-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sclorg%2Fmysql-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sclorg","download_url":"https://codeload.github.com/sclorg/mysql-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856544,"owners_count":21007621,"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","database","docker-image","dockerfile","fedora","mysql","openshift","rhel","sql"],"created_at":"2024-07-30T19:02:16.338Z","updated_at":"2025-04-08T14:11:23.427Z","avatar_url":"https://github.com/sclorg.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"MySQL SQL Database Server Container Image\n=========================================\n\n[![Build and push images to Quay.io registry](https://github.com/sclorg/mysql-container/actions/workflows/build-and-push.yml/badge.svg)](https://github.com/sclorg/mysql-container/actions/workflows/build-and-push.yml)\n\nImages available on Quay are:\n* CentOS Stream 9 [mysql-80](https://quay.io/repository/sclorg/mysql-80-c9s)\n* CentOS Stream 10 [mysql-84](https://quay.io/repository/sclorg/mysql-84-c9s)\n* Fedora [mysql-80](https://quay.io/repository/fedora/mysql-80)\n\nThis repository contains Dockerfiles for MySQL images for OpenShift and general usage.\nUsers can choose between RHEL, Fedora and CentOS based images.\n\nFor more information about using these images with OpenShift, please see the\nofficial [OpenShift Documentation](https://docs.okd.io/latest/using_images/db_images/mysql.html).\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--------\nMySQL versions currently provided are:\n* [MySQL 8.0](8.0)\n* [MySQL 8.4](8.4)\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\n\nInstallation\n------------\nChoose either the CentOS Stream or RHEL 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/mysql-80).\n    To download it run:\n\n    ```\n    $ podman pull registry.access.redhat.com/rhel8/mysql-80\n    ```\n\n    To build a RHEL8 based MySQL image, you need to run Docker build on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/mysql-container.git\n    $ cd mysql-container\n    $ git submodule update --init\n    $ make build TARGET=rhel8 VERSIONS=8.0\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/mysql-80-c9s\n    ```\n\n    To build a CentOS based MySQL image from scratch, run:\n\n    ```\n    $ git clone --recursive https://github.com/sclorg/mysql-container.git\n    $ cd mysql-container\n    $ git submodule update --init\n    $ make build TARGET=c9s VERSIONS=8.0\n    ```\n\nFor using other versions of MySQL, just replace the `8.0` 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 MySQL, 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 MySQL 8.0,\nsee [usage documentation](8.0).\n\nFor information about usage of Dockerfile for MySQL 8.4,\nsee [usage documentation](8.4).\n\n\nTest\n----\n\nThis repository also provides a test framework, which checks basic functionality\nof the MySQL image.\n\nUsers can choose between testing MySQL based on a RHEL or CentOS image.\n\n*  **RHEL based image**\n\n    To test a RHEL8 based MySQL image, you need to run the test on a properly\n    subscribed RHEL machine.\n\n    ```\n    $ cd mysql-container\n    $ git submodule update --init\n    $ make test TARGET=rhel8 VERSIONS=8.0\n    ```\n\n*  **CentOS Stream based image**\n\n    ```\n    $ cd mysql-container\n    $ git submodule update --init\n    $ make test TARGET=c9s VERSIONS=8.0\n    ```\n\nFor using other versions of MySQL, just replace the `8.0` 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 MySQL, which must be specified in  `VERSIONS` variable.\nThis variable must be set to a list with possible versions (subdirectories).**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fmysql-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsclorg%2Fmysql-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsclorg%2Fmysql-container/lists"}