GuofangandClaude Sonnet 5.5 df7af62648 Build DuckDB with the ui extension and import sources via a build context
- Build the ui extension (pinned duckdb-ui commit for DuckDB 1.5.6) into
  DuckDB on debian13 and rocky9 so the shell supports -ui.
- Add fetch-sources.sh, which downloads source archives with aria2c into the
  git-ignored sources/ repository.
- debian13: replace per-dependency downloads with
  RUN --mount=type=bind,from=sources, passed by build.sh through
  --build-context, so archives are not stored in image layers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 14:02:15 +08:00

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
S
Description
No description provided
Readme
317 KiB
0 Stars 1 Watchers 0 Forks
Languages
Dockerfile 86.3%
Shell 9.9%
CMake 3.8%