Dockerfile: bump alpine version to 3.20.1
envsetup.sh: let WORKDIR=$PWD
Dockerfile: add comments with URLs; add --no-cache
This repository shows how to containerize a build system for a C application.
Load aliases into the current shell environment that wrap build system commands:
. ./envsetup.sh
Build the container image:
build_container_image
Use the usual Meson and Ninja commands as you like:
meson setup build/
git ls-files | entr -cr ./scripts/local-ci.sh
rm -r build/
The container's base image should be the latest release of an Alpine branch that has a 'bug fixes' or 'sec fixes' support level.
When the Dockerfile is changed, rebuild the container image and run the build system to discover regressions. Fix regressions before committing the new base image.