jez / pandoc-sidenote

Convert Pandoc Markdown-style footnotes into sidenotes
MIT License
136 stars 17 forks source link

Not working on Alpine #21

Closed p3palazzo closed 3 years ago

p3palazzo commented 3 years ago

I am trying to build a docker container with pandoc and pandoc-sidenote, using an Alpine:3.12 image as a base. When I download and copy the pre-built binary to /usr/local/bin/ inside the container and try to run it, I get:

cannot execute binary file: Exec format error

I checked the binary and it's chmod 755, owned by root like all the other binaries in the image (including the pandoc suite). Building from source also fails; Alpine 3.12 only provides ghc-8.8.3, and the stack builder complains it only supports 7.10.3, 8.0.1, 8.0.2, 8.2.1, or 8.2.2. Any solution for this?

p3palazzo commented 3 years ago

Cabal install works, so it’s not really necessary to build from source.