summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)Author
2026-09-25ci: port the Cloudflare Workers docs pipeline to circinus (slug 1.5) (#2208)Yuriy Andamasov
* ci: port Cloudflare Workers docs pipeline files to circinus (verbatim) Copies the branch-agnostic half of the docs.vyos.io Cloudflare Workers pipeline from `rolling` at 8cb568bf, byte-identical: - .github/workflows/docs-build.yml - workers/ (entire tree) - scripts/docs_gates/ - docker/im-convert.sh - docs/_static/js/version-picker.js, js/pagefind-wrapper.js, css/version-picker.css (new files, no circinus counterpart) - docs/_templates/breadcrumbs.html, searchbox.html (new files) docs-build.yml already triggers on push to [rolling, circinus, sagitta] and resolves `circinus` -> worker vyos-docs-v15-en / slug 1.5 from workers/matrix.json; the files simply did not exist on this branch, so slug 1.5 still serves the bootstrap placeholder. workers/versions.json + workers/matrix.json are deliberately identical across all three branches and must be kept in sync. Advances: IS-572 * ci: wire circinus docs build into the Cloudflare Workers pipeline Hand-merges the CF-specific hunks onto circinus's own docker/Dockerfile and docs/conf.py rather than clobbering them with rolling's versions — circinus keeps its own content-driven history in both files. docker/Dockerfile: - imagemagick + librsvg2-bin (sphinx.ext.imgconverter backend) and poppler-utils (pdfinfo, used by docs-build.yml's PDF page-count completeness check), installed --no-install-recommends - install docker/im-convert.sh as /usr/local/bin/im-convert docs/conf.py: - enable sphinx.ext.imgconverter + image_converter = 'im-convert' so the LaTeX/PDF builder stops silently dropping .webp/.svg images - register js/version-picker.js + css/version-picker.css unconditionally (degrades silently on ReadTheDocs) - _vyos_cf_build gate off the raw DOCS_VERSION_SLUG env var; only CF builds load js/pagefind-wrapper.js, and html_context['vyos_cf_build'] lets _templates/searchbox.html fall back to the stock Sphinx searchbox via the "!" bang-include on RTD The RTD path stays the default in both files: circinus continues building on ReadTheDocs until RTD sunset, and every CF feature activates only when DOCS_VERSION_SLUG is present. .readthedocs.yml is untouched. circinus keeps its own version/release/html_title/source_suffix and its hardcoded html_baseurl (its CF slug is also `1.5`, so rolling's DOCS_VERSION_SLUG/READTHEDOCS_VERSION resolution block is a no-op here and was deliberately not ported). Advances: IS-572 * ci: IS-572: re-sync ported Cloudflare Workers pipeline files with rolling The category-1 files in this port are byte-identical copies from `rolling`. `rolling` has since moved: [vyos-documentation#2209](https://github.com/vyos/vyos-documentation/pull/2209) merged as `3a1c6c30`, thirteen rounds of hardening on exactly these files. Re-take all 14 category-1 paths from `origin/rolling` via `git checkout origin/rolling -- <paths>`, so byte-identity holds by construction rather than by hand-editing: .github/workflows/docs-build.yml scripts/docs_gates/{gates,parity,smoke,test_gates,test_parity,test_smoke}.py workers/.gitignore workers/apex/src/{index,special,uagate}.ts workers/apex/test/{router,uagate}.test.ts workers/apex/ua-policy.json Thirteen of the fourteen carry [vyos-documentation#2209](https://github.com/vyos/vyos-documentation/pull/2209) exactly — the pre-change tree was byte-identical to `3a1c6c30^` for those paths. `workers/.gitignore` additionally picks up the one-line `test-results/` entry from [vyos-documentation#2212](https://github.com/vyos/vyos-documentation/pull/2212); inert on circinus, since only the deliberately-unported `apex-deploy.yml` writes that directory. Deliberate exclusions are unchanged: `docs-canary-qa.yml` (cron runs on the default branch only, so it is not ported even though [vyos-documentation#2209](https://github.com/vyos/vyos-documentation/pull/2209) touched it on `rolling`), `apex-deploy.yml`, and the `docs-preview-*` workflows. `docs/conf.py` stays hand-merged and circinus-specific, with its ReadTheDocs fallback intact. 🤖 Generated by [robots](https://vyos.io)
2026-05-07fix(docker): install sphinx_llms_txt + sphinx_sitemap in circinus imageYuriy Andamasov
Circinus's `docker/Dockerfile` was missing two pip-installed Python extensions enabled in `docs/conf.py` post-#1903 (the circinus llms.txt build-time render). Without them, `make html` from inside the docker image fails to load `sphinx_llms_txt` and `sphinx_sitemap`. `current` and `sagitta` Dockerfiles already include both. After this fix, circinus's Dockerfile is byte-identical to current's (md5 `45101a75...`). Bundled here because [#1906](https://github.com/vyos/vyos-documentation/pull/1906)'s CLAUDE.md states "Docker (recommended)" and the previous Copilot review pointed out (correctly) that the referenced docker image wouldn't actually build the docs without these deps. Fixing the Dockerfile makes the CLAUDE.md claim accurate. \xf0\x9f\xa4\x96 Generated by [robots](https://vyos.io)
2024-05-10docker: multiple updatesMatthew Kobayashi
* Update Debian base image to 12 * Add --break-system-packages option to pip3 install command * Remove chmod a+s from Dockerfile (newer versions of gosu in particular don't support this) * Add sudo to relevant commands in entrypoint.sh * Add UID_MIN key to adduser command (allows the container to run on MacOS) * Formatting and spelling fixes
2024-01-16Update DockerfileRobert Göhler
2022-08-25fix: docker/Dockerfile to reduce vulnerabilitiessnyk-bot
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-BASH-536280 - https://snyk.io/vuln/SNYK-DEBIAN10-GCC8-347558 - https://snyk.io/vuln/SNYK-DEBIAN10-GCC8-347558 - https://snyk.io/vuln/SNYK-DEBIAN10-GCC8-347558 - https://snyk.io/vuln/SNYK-DEBIAN10-ZLIB-2976149
2022-04-01add sphinx panels and create 6 panels on index.rstrebortg
2022-02-12cleanup all vale componentsrebortg
(cherry picked from commit 6052f0d7374519f8de9f076ba9db63ef7aed162a)
2022-01-24add md support to Dockerfilerebortg
2020-12-08Dockerfile: add python requirement lxmlrebortg
2020-07-18404: catch page not found errorrebortg
2020-01-04docker: readd sphinx-auto-buildRobert Göhler
2020-01-04Docker: update debian and sphinx-doc versionRobert Göhler
the update of sphinx repair a dependency problem with docutil and the new vyos extension
2019-12-11Docker: convert (dos2unix) entrypointChristian Poessinger
We need to convert the entrypoint with appropriate line endings, else there will be an error: 'standard_init_linux.go:175: exec user process caused "no such file or directory"'
2019-12-10Docker: add 'nano' to container imageChristian Poessinger
2019-12-07Docker: Docs: enable GraphViz supportChristian Poessinger
2019-11-20wireless: add operational commandsChristian Poessinger
2019-10-14T1731: change vale version to stableRobert Göhler
2019-10-14T1731: 1st version to test valeRobert Göhler
2019-04-24Add sphinx-autobuild to dockerPeter Magnusson
2019-04-20Docker: update Dockerfile and descriptionChristian Poessinger