b21f7db67b644069078d6037dfc17c867613b1c6
- Make the libevent install patch take CMAKE_INSTALL_LIBDIR instead of hardcoding lib/x86_64-linux-gnu, and rename it to libevent-libdir-install.patch. - Replace every hardcoded x86_64-linux-gnu in the debian13 Dockerfile with $(gcc -dumpmachine). - Download the Rust tarball for `uname -m` and expose it to the Dockerfiles as the architecture-neutral rust-1.99.1.tar.xz (a hard link refreshed on every run), because podman cannot expand ARG in a --mount source. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Source Stack Build Environments
Debian 13, Rocky Linux 9, and Alpine Linux container build environments with a C/C++ toolchain, CMake, and Git preinstalled, compatible with both Docker and Podman. The Alpine image builds the stack against musl libc. GitHub HTTPS URLs are routed through wangguofang.net. For the libraries included in the images, their pinned versions, and build details, see INCLUDED_LIBRARIES.md.
Build
Each build script automatically selects Docker or Podman:
./build-all.sh
./debian13/build.sh
./rocky9/build.sh
./alpine3.24/build.sh
Use environment variables to select the container engine or override image names:
CONTAINER_ENGINE=podman IMAGE_NAME=my-build-env ./rocky9/build.sh
Run
docker run --rm -it debian13-source-stack
docker run --rm -it rocky9-source-stack
docker run --rm -it alpine3.24-source-stack
Languages
Dockerfile
86.3%
Shell
9.9%
CMake
3.8%