pandoc / dockerfiles

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

Support for ARM images #218

Closed giper45 closed 11 months ago

giper45 commented 11 months ago

Woul you able to build images through docker buildx in order to support images for ARM platforms? Useful commands:

  1. Create a builder

    docker buildx create --use --name mybuilder
  2. Build and push in repository the images (x86 and arm):

    docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t pandoc/extra --push  .

To build locally (the same of the previous docker build, the equivalent command is the following:

docker buildx build --load --platform=linux/arm64 .

References:

Thank you

rikhuijzer commented 11 months ago

Duplicate of https://github.com/pandoc/dockerfiles/issues/134.

alerque commented 11 months ago

@giper45 If any of your command tips and references are new information or not covered in the much earlier discussion on #134 could you please copy them to a comment there? It's possible things have changed since the last look I had that issue, but lets track the progress in one place. Thanks.