Skip to content

Dockerfiles from templates#293

Merged
tarleb merged 4 commits intomainfrom
dockerfiles-from-templates
Jul 23, 2025
Merged

Dockerfiles from templates#293
tarleb merged 4 commits intomainfrom
dockerfiles-from-templates

Conversation

@tarleb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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