{"id":20161590,"url":"https://github.com/stablecoder/docker-build-core","last_synced_at":"2025-10-15T23:09:29.615Z","repository":{"id":44370194,"uuid":"308977767","full_name":"StableCoder/docker-build-core","owner":"StableCoder","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-26T00:41:58.000Z","size":324,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T02:40:28.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/StableCoder.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":"2020-10-31T21:48:07.000Z","updated_at":"2025-08-26T00:42:02.000Z","dependencies_parsed_at":"2024-10-21T03:02:32.967Z","dependency_job_id":"6ff5cb28-1313-4dd3-8b17-b61cf588a2f7","html_url":"https://github.com/StableCoder/docker-build-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StableCoder/docker-build-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StableCoder%2Fdocker-build-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StableCoder%2Fdocker-build-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StableCoder%2Fdocker-build-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StableCoder%2Fdocker-build-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StableCoder","download_url":"https://codeload.github.com/StableCoder/docker-build-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StableCoder%2Fdocker-build-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275076532,"owners_count":25401313,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T00:19:46.567Z","updated_at":"2025-10-15T23:09:29.552Z","avatar_url":"https://github.com/StableCoder.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Core Images\n\n[![pipeline status](https://git.stabletec.com/docker/build-core/badges/main/pipeline.svg)](https://git.stabletec.com/docker/build-core/commits/main)\n[![license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)\n[![docker pulls](https://img.shields.io/docker/pulls/stabletec/build-core.svg)](https://hub.docker.com/r/stabletec/build-core/)\n[![docker stars](https://img.shields.io/docker/stars/stabletec/build-core.svg)](https://hub.docker.com/r/stabletec/build-core/)\n\nThis contains a bunch of Dockerfiles for generating images useful as a basis for performing C/C++ development work, including available compilers and base tools. These images are meant to either be used on their own for very basic items, or as base images to be extended with additional required libraries for specific projects.\n\nThese images are used to target platforms/distributions, not specific tools or compilers, so there is some overlap between them for certain items.\n\n## Supported tags and respective `Dockerfile` links\n\n- [`alma`, `alma-8`, `alma-9`, `alma-10` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/alma/)\n- [`arch` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/arch/)\n- [`debian`, `debian-11`, `debian-12` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/debian/)\n- [`fedora`, `fedora-41`, `fedora-42` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/fedora/)\n- [`msys-ltsc2019-clang64`, `msys-ltsc2019-mingw64`, `msys-ltsc2019-msys2`, `msys-ltsc2019-ucrt64` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/msys-ltsc2019/)\n- [`msys-ltsc2022-clang64`, `msys-ltsc2022-mingw64`, `msys-ltsc2022-msys2`, `msys-ltsc2022-ucrt64` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/msys-ltsc2022/)\n- [`msys-ltsc2025-clang64`, `msys-ltsc2025-mingw64`, `msys-ltsc2025-msys2`, `msys-ltsc2025-ucrt64` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/msys-ltsc2025/)\n- [`opensuse`, `opensuse-15` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/opensuse/)\n- [`rocky`, `rocky-8`, `rocky-9`, `rocky-10` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/rocky/)\n- [`ubuntu`, `ubuntu-20.04`, `ubuntu-22.04`, `ubuntu-24.04` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/ubuntu/)\n- [`windows-ltsc2019`, `windows-ltsc2019-vs2019`, `windows-ltsc2019-vs2022` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/windows-ltsc2019/)\n- [`windows-ltsc2022`, `windows-ltsc2022-vs2019`, `windows-ltsc2022-vs2022` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/windows-ltsc2022/)\n- [`windows`, `windows-ltsc2025`, `windows-ltsc2025-vs2019`, `windows-ltsc2025-vs2022` (Dockerfile)](https://github.com/StableCoder/docker-build-core/tree/main/windows-ltsc2025/)\n\n## Architecture Support\n\n| OS             | amd64 | arm64 | ppc64le | s390x | riscv64 |\n| -------------- | ----- | ----- | ------- | ----- | ------- |\n| Alma           | X     | X     | X       | X     |         |\n| Arch (SteamOS) | X     |       |         |       |         |\n| Debian 11.     | X     | X     |         |       |         |\n| Debian 12+     | X     | X     | X       | X     |         |\n| Fedora         | X     | X     | X       | X     |         |\n| openSUSE       | X     | X     | X       | X     |         |\n| Rocky 8        | X     | X     |         |       |         |\n| Rocky 9/10     | X     | X     | X       | X     |         |\n| Ubtuntu        | X     | X     | X       | X     | X       |\n| Windows        | X     |       |         |       |         |\n| MSYS/MinGW     | X     |       |         |       |         |\n\nImages *without* an OS_VERSION, ex. `debian` or `rocky`, are based off the 'latest' tag of the base image, which often means it also shares the same image layers as the OS_VERSION's as well. Ex. `debian` uses the same layers as `debian-12` and `rocky` shares the same layers as `rocky-9`.\n\n## Tooling Available\n\n### Linux\n\nThese images form the core of other images used for building an assortment of C/C++ projects, and as such include this core software:\n- CMake\n- Clang\n- GCC\n- Git\n- Make\n- Ninja Build\n- pkgconf\n- Python 3\n- Subversion\n\nThe Linux images default to gcc/g++ compiler. To use the clang/clang++ compilers, simply define the CC/CXX environment variables when starting the container, for example:\n```sh\n# Starts the fedora container, setting up with the clang/clang++ compilers\ndocker run -e CC=clang -e CXX=clang++ stabletec/build-core:fedora\n```\n\n### Windows\n\nThe SDK based images contain two compilers with three options available, and the basic toolset:\n- Chocolatey\n- clang/clang-cl\n- CMake\n- Git\n- Ninja Build\n- Python 3\n- Subversion\n- Visual Studio Build Tools (MSVC) (with Address Sanitizer)\n\nDue to lack of forward-compatability for Windows images, they are split based on the Long-Term-Server-Core (LTSC) version, and split again on the Visual Studio versions on each base.\n\nThe Windows images default to the MSVC compiler. To use the clang/clang-cl compilers, simply define the CC/CXX environment variables when starting the container, for example:\n```powershell\n# Starts the Windows container, setting up with the clang-cl compiler\ndocker run -e CC=clang-cl -e CXX=clang-cl stabletec/build-core:windows-ltsc2022\n\n# Starts the Windows container, setting up with the clang compiler\ndocker run -e CC=clang -e CXX=clang stabletec/build-core:windows-ltsc2022\n```\n\n### MSYS/MinGW\n\nThese images form the core of other images used for building an assortment of C/C++ projects, and as such include this core software:\n- CMake\n- Clang\n- GCC\n- Git\n- Make\n- Ninja Build\n- pkgconf\n- Python 3\n- Subversion\n\nThere are several variants on MinGW environments available, as described [here](https://www.msys2.org/docs/environments/).\n\nCurrently, only the amd64 based environments are available:\n- ucrt64\n- mingw64\n- clang64\n\nDue to lack of forward-compatability for Windows images, they are split based on the Long-Term-Server-Core (LTSC) version, and again on the MinGW environments.\n\n## Analysis Tools\n\nFedora images also have analysis tools useful for code instrumentation and analysis:\n- AddressSanitizer\n- LeakSanitizer\n- ThreadSanitizer\n- UndefinedBehaviourSanitizer\n- clang-tidy\n- clang-format\n- cppcheck\n- llvm\n- include-what-you-use (iwyu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstablecoder%2Fdocker-build-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstablecoder%2Fdocker-build-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstablecoder%2Fdocker-build-core/lists"}