pandoc / dockerfiles

Dockerfiles for various pandoc images
GNU General Public License v2.0
364 stars 98 forks source link

Add git to pandoc images #223

Closed me-kell closed 4 months ago

me-kell commented 5 months ago

AFAICS the pandoc images (pandoc/latex etc.) have not git installed.

On the other side I see in the alpine/Dokerfile that git is added with apk:

https://github.com/pandoc/dockerfiles/blob/61b1fbf7355923f817b447301543d40316eea9c2/alpine/Dockerfile#L7-L21

Do I miss some point or git is actually not installed in pandoc/latex?

tarleb commented 5 months ago

We're using a multi-step process: first we create a "builder" container that contains all the tools required to build pandoc from source. After that's done we create a fresh container that has only a very minimal set of tools installed. Each FROM line creates a new container, and for the shipped containers we just copy the artifacts created in the build containers.

me-kell commented 5 months ago

@tarleb Oh. I see. Thanks for the explanation.

daamien commented 4 months ago

@me-kell FTR the dalibo/pandocker image is based on pandoc/extra and it contains git