ci/woodpecker/pr/build-dane-verify Pipeline was successful
ci/woodpecker/pr/build-porkbun-ddns Pipeline was successful
ci/woodpecker/push/build-dane-verify Pipeline was successful
ci/woodpecker/push/build-hledger Pipeline was successful
ci/woodpecker/push/build-nvim Pipeline was successful
ci/woodpecker/push/build-playwright Pipeline was successful
ci/woodpecker/push/build-porkbun-ddns Pipeline was successful
997 B
997 B
🛠 Building
Build from the repo root:
docker build -t porkbun-ddns ./porkbun-ddns
docker build -t hledger ./hledger
Check the container README and Dockerfile for build options
Dockerfiles
- Prefer supported Alpine releases
- Combine related
RUNcommands for smaller image sizes - Use
ENTRYPOINTfor dedicated commands. Keep toolchain images usable by CI shells. - Run as non-root where practical. Document required mounts and capabilities.
Shell scripts
- Keep functions focused and
maineasy to follow. - Use
set -euo pipefailin Bash scripts. - Use
jqfor JSON andawk,sed, orgrepfor text. - Give network requests timeouts and return nonzero on failures.
Adding a container
- Add its directory,
Dockerfile, scripts, and README with usage and arguments. - Add tests and PR checks in GitHub Actions and Woodpecker.
- Add release workflows and cleanup registration.
- Add it to What's inside?.