docs(automation): note docker-buildx-plugin as build-host prerequisite
DOCKER_BUILDKIT=1 in the build workflow only works if the host has the buildx CLI plugin installed. Bare docker-ce sometimes ships without it (Debian/Ubuntu separate packaging). Document the install so future hosts onboarding to be build targets don't hit the same 'BuildKit is enabled but the buildx component is missing' error. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -285,6 +285,7 @@ Requirements are a strict subset of the regular deploy-target prerequisites
|
||||
| `sys-gitea-runner` resolvable via LDAP + member of `charlie-deploy` | SSH session + docker socket access. |
|
||||
| sshd trusts the step-ca SSH user CA | Runner-issued user certs are accepted. |
|
||||
| `/var/run/docker.sock` is `root:charlie-deploy` | `docker build` / `push` work without sudo. |
|
||||
| `docker buildx` plugin installed (`docker-buildx-plugin` / `docker-cli-buildx`) | The workflow exports `DOCKER_BUILDKIT=1` so Dockerfiles can use `RUN --mount=type=cache` etc. Without buildx, `docker build` errors with "BuildKit is enabled but the buildx component is missing". Verify with `docker buildx version`. |
|
||||
| `git` available on the host | Cloning the caller source into the scratch workdir. |
|
||||
| Outbound HTTPS to `gitea.alexandru.macocian.me` | `docker push` + `git clone`. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user