52ea874506a64de14a7915b9535a41d5475e17ab
Mirrors rocky9's curl-based fetching and consistent-libdir goals but adapted to Debian's own conventions: replaces git clone with curl tarball downloads (matching rocky9's URLs), drops sha256sum checks, and installs every vendored library under /usr/local/lib/x86_64-linux-gnu instead of rocky9's lib64. lib64 was tried first but abandoned: on Debian, CMake's find_package() Config-mode search, find_library(), and pkg-config's default search path all detect /etc/debian_version and never look in lib64 (that's an RHEL-only default), so cross-package lookups like spdlog finding fmt or folly's FindLibEvent.cmake kept failing. lib/x86_64-linux-gnu is Debian's native multiarch path and is found by all three mechanisms with no extra CMAKE_PREFIX_PATH/PKG_CONFIG_PATH workarounds, verified by building the full image end to end. libevent-lib64-install.patch is renamed and retargeted at lib/x86_64-linux-gnu since libevent hardcodes "lib" in its CMake install rules with no override flag. CacheLib keeps building its default interface/cachebench targets (no patch needed here, unlike rocky9). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UV2yJRkL6CnChX3D2zhoXH
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%