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?
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:
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?