Commit graph

35 commits

Author SHA1 Message Date
6a2abc6235 feat(docker): modularize Docker setup for docs and slides
Introduces distinct Dockerfiles for documentation and slide projects, enhancing modularity and build efficiency. The previous monolithic structure was less flexible and caused longer build times.

- Added `DOCMACHINE_DOCS_ENABLE` and `DOCMACHINE_SLIDES_ENABLE` env variables to toggle features.
- Created `docker/Dockerfile.docs` for documentation builds, including necessary tools and dependencies.
- Created `docker/Dockerfile.slides` for slide builds to streamline setup.
- Updated main Dockerfile to include `python-is-python3` for compatibility, removing redundant symlinks.
- Enhanced LaTeX tools by adding `texlive-xetex` and extra fonts for improved PDF output.
2025-03-27 10:14:38 +01:00
0fea694575 chore: update Dockerfile dependencies and improve PDF build process 2024-12-12 09:19:29 +01:00
ff82c631b4 fix: makefile tasks for watch 2024-09-30 18:12:26 +02:00
a0279653f5 fix: make sure it runs 2024-09-23 01:39:46 +02:00
3cea2ba18d refactor: makefile & tasks 2024-09-23 01:03:29 +02:00
0e364f496d feat: add support for rsync (needed by image subdirs) 2024-02-16 23:58:51 +01:00
bee16a9593 Bump debian and python versions 2024-02-01 14:12:24 +01:00
adaa7c0f25 fix: Force version number for node image 2023-01-12 08:47:45 +01:00
9df6e9911f fix: Use Marp configuration files 2022-08-18 10:55:58 +02:00
aca590ed4a fix: Make sure entrypoint works without user-provided configuration 2022-04-26 11:24:59 +02:00
b5b278f0b6 fix(Dockerfile): follow redirections in curl 2022-01-30 17:15:32 +01:00
468783f50e fix: add case for missing mkdocs-patch.yml file 2022-01-30 17:14:57 +01:00
12b548e906 fix: broken entrypoint script & config name 2022-01-28 19:43:53 +01:00
73e55d8e55 fix: add missing package 'curl' 2022-01-28 18:46:55 +01:00
5515ff2d18 feat: handle mkdocs patching 2022-01-28 18:41:34 +01:00
911856ef49 docker: add more tools needed for pdfs 2021-12-21 17:38:13 +01:00
d832ca6ad5 fix: Create missing directory for appuser (needed by marp) 2021-12-21 17:25:50 +01:00
bd325fd13e fix: add missing package m4 (needed by build-docs-pdf) 2021-12-21 16:54:22 +01:00
27e203a3ac ci: handle no-tty mode 2021-12-21 16:42:00 +01:00
939f161845 Add support for unzip 2021-12-16 06:44:22 +01:00
4ce276bf83 fix: Pipenv must use .venv in project to share dependencies 2021-12-15 18:10:04 +01:00
67a5cea132 fix: Add missing link & env for pipenv 2021-12-15 17:47:14 +01:00
5c7ce79966 doc: add comments in entrypoint 2021-12-06 14:59:59 +01:00
20b498bc55 fix: make pipenv install system-wide 2021-12-06 14:59:18 +01:00
e0a256084a marp: handle theme for build-slides 2021-12-06 12:22:19 +01:00
61a5f735ab docker: add shell command to entrypoint 2021-12-06 11:47:53 +01:00
c33e2da44e docker: test if _build directory exists before chown 2021-12-06 11:10:43 +01:00
ce2b0e546d fix: change permissions of _build 2021-11-30 21:58:34 +01:00
de00ec0a3f fix: handle user UID/GID 2021-11-30 15:16:01 +01:00
4e09526845 fix: handle user UID/GID 2021-11-30 15:01:01 +01:00
4131813fa5 docker: switch to non-root user 2021-11-30 14:02:48 +01:00
e7bfbca9dc docker: include chromium to build slides (fix) 2021-11-30 13:38:30 +01:00
ea801eacb8 docker: include chromium to build slides 2021-11-30 13:33:42 +01:00
8fa255631d Update docker scripts 2021-11-23 23:46:50 +01:00
ce08f3d90f Add docker files 2021-10-10 11:21:36 +02:00