benrbray / tikzjax

TikZJax is TikZ running under WebAssembly in the browser
12 stars 3 forks source link

Specify platform to prevent build errors on ARM hosts #5

Open thecodechemist99 opened 3 months ago

thecodechemist99 commented 3 months ago

On ARM hosts, if unspecified during build, the docker image defaults to an arm64 image of ubuntu. This causes the install of wasm-opt to fail (see source code for comparison).

If the platform is specified as linux/amd64, the build script runs without errors (tested on M1 Mac).

vicapow commented 1 month ago

Same issue here. This fixed helped @thecodechemist99