stabletec/build-core
These images form the core of other images used for building, targeting specific platforms.
100K+
This 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.
These images are used to target platforms/distributions, not specific tools or compilers, so there is some overlap between them for certain items.
Dockerfile
linksalma
, alma-8
, alma-9
(Dockerfile)arch
(Dockerfile)debian
, debian-10
, debian-11
, debian-12
(Dockerfile)fedora
, fedora-39
, fedora-40
, fedora-41
(Dockerfile)msys-ltsc2019-clang64
, msys-ltsc2019-mingw64
, msys-ltsc2019-ucrt64
(Dockerfile)msys-ltsc2022-clang64
, msys-ltsc2022-mingw64
, msys-ltsc2022-ucrt64
(Dockerfile)msys-ltsc2025-clang64
, msys-ltsc2025-mingw64
, msys-ltsc2025-ucrt64
(Dockerfile)opensuse
, opensuse-15
(Dockerfile)rocky
, rocky-8
, rocky-9
(Dockerfile)ubuntu
, ubuntu-20.04
, ubuntu-22.04
, ubuntu-24.04
(Dockerfile)windows-ltsc2019
, windows-ltsc2019-vs2019
, windows-ltsc2019-vs2022
(Dockerfile)windows-ltsc2022
, windows-ltsc2022-vs2019
, windows-ltsc2022-vs2022
(Dockerfile)windows
, windows-ltsc2025
, windows-ltsc2025-vs2019
, windows-ltsc2025-vs2022
(Dockerfile)OS | amd64 | arm64 | ppc64le | s390x | riscv64 |
---|---|---|---|---|---|
Alma | X | X | X | X | |
Arch (SteamOS) | X | ||||
Debian 10/11 | X | X | |||
Debian 12+ | X | X | X | X | |
Fedora | X | X | X | X | |
openSUSE | X | X | X | X | |
Rocky 8 | X | X | |||
Rocky 9+ | X | X | X | X | |
Ubtuntu | X | X | X | X | X |
Windows | X | ||||
MSYS/MinGW | X |
Images 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
.
These images form the core of other images used for building an assortment of C/C++ projects, and as such include this core software:
The 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:
# Starts the fedora container, setting up with the clang/clang++ compilers
docker run -e CC=clang -e CXX=clang++ stabletec/build-core:fedora
The SDK based images contain two compilers with three options available, and the basic toolset:
Due 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.
The 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:
# Starts the Windows container, setting up with the clang-cl compiler
docker run -e CC=clang-cl -e CXX=clang-cl stabletec/build-core:windows-ltsc2022
# Starts the Windows container, setting up with the clang compiler
docker run -e CC=clang -e CXX=clang stabletec/build-core:windows-ltsc2022
These images form the core of other images used for building an assortment of C/C++ projects, and as such include this core software:
There are several variants on MinGW environments available, as described here.
Currently, only the amd64 based environments are available:
Due 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.
Fedora images also have analysis tools useful for code instrumentation and analysis:
docker pull stabletec/build-core