Files
docker-agent/docs/Dockerfile
T
Sayt-0 9b6eda0398 docs: switch github.io site from Jekyll to Hugo
Completes phase 4.1 of #3371. The github.io preview site now renders
with the same engine as docs.docker.com, so the mounted Markdown is
single-sourced byte-for-byte across both surfaces.

- add docs/hugo.yaml with explicit section mounts and ERROR-level
  relative link validation, matching the docker/docs build
- port the Jekyll layout, includes and nav data to Hugo templates
- resolve relative .md links with a render hook equivalent to the
  docker/docs one; render GFM alerts at build time (replaces the
  client-side transform in app.js)
- rewrite the github.io-only homepage and 404 without Liquid
- deploy via GitHub Actions (docs-deploy.yml) instead of the legacy
  branch build; local preview and link check now use Hugo
2026-07-03 23:57:00 +02:00

12 lines
360 B
Docker

FROM debian:bookworm-slim
ARG HUGO_VERSION=0.163.0
ARG TARGETARCH
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${TARGETARCH}.tar.gz /tmp/hugo.tar.gz
RUN tar -xzf /tmp/hugo.tar.gz -C /usr/local/bin hugo && rm /tmp/hugo.tar.gz
WORKDIR /src
EXPOSE 1313
CMD ["hugo", "server", "--bind", "0.0.0.0"]