Prebuild mono1 runtime releases used by containerbase/base.
mise install installs Node.js, pnpm, jactionlint, shellcheck, zizmor and the dependencies.
pnpm lint # pnpm oxfmt-fix to fix the formatting
jactionlint # the GitHub workflows
zizmor .github/ # security audit of the GitHub workflowsCI runs jactionlint and zizmor through mise in the lint job, and the commit hook runs them on staged workflow files.
Build the image
docker build -t builder --build-arg APT_HTTP_PROXY=http://apt-proxy:3142 --build-arg DISTRO=jammy .Test the image
docker run --rm -it -v ${PWD}/.cache:/cache -e DEBURG=true builder 6.14.1${PWD}/.cache will contain packed releases after successful build.
Optional environment variables
| Name | Description | Default |
|---|---|---|
DISTRO |
Set an ubuntu base distro, only jammy is supported |
jammy |
APT_HTTP_PROXY |
Set an APT http proxy for installing build deps | <empty> |
DEBUG |
Show verbose php build output | <empty> |