Skip to content

Dockerfiles from templates #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 23, 2025
Merged

Dockerfiles from templates #293

merged 4 commits into from
Jul 23, 2025

Conversation

tarleb
Copy link
Member

@tarleb tarleb commented Jul 14, 2025

Dockerfiles are created explicitly from a template, instead using a highly configurable Dockerfile. The complexity is therefore shifted into the template and into the scripts used to generate the version-specific Dockerfiles.

Almost all configurations have been merged into a single file, config.yaml. That file now controls the set of supported pandoc releases, the base images, and parameters for the addon images (e.g, latex and typst). Generate Dockerfiles by running ./pandock.lua generate <PANDOC_VERSION>. This will also create a docker-bake.json file, to make reproducible builds even easier.

@tarleb
Copy link
Member Author

tarleb commented Jul 14, 2025

If this is merged, then we could create releases with Dockerfiles for each pandoc release.

@tarleb tarleb force-pushed the dockerfiles-from-templates branch 4 times, most recently from b5ac659 to ddddc40 Compare July 15, 2025 10:50
@tarleb tarleb force-pushed the dockerfiles-from-templates branch 2 times, most recently from 8950d61 to 612744e Compare July 15, 2025 15:19
@tarleb tarleb force-pushed the dockerfiles-from-templates branch from 612744e to b520f71 Compare July 15, 2025 15:22
@tarleb
Copy link
Member Author

tarleb commented Jul 23, 2025

There's still room for improvements, but it seems to be working well enough, so I'm merging it.

@tarleb tarleb merged commit 9674917 into main Jul 23, 2025
11 of 12 checks passed
@tarleb tarleb deleted the dockerfiles-from-templates branch July 23, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant