Dockerfiles for JS and Wasm backends

I’ve written Dockerfiles for GHC 9.6.1’s JavaScript backend and WebAssembly backend. They are buildable on amd64 and arm64.

I hope they help you try the new backends.

11 Likes

Is one of the amd64 a typo or is it a way to refer to amd128? :grin:

1 Like

I mean amd64 (aka x86_64) and arm64 (aka aarch64).

1 Like

Oh God, how embarrassing! Thanks for the clarification.

1 Like

Thanks! Much better than my attempt: GitHub - brandonchinn178/ghcjs-docker

1 Like

You may want to apply the 3 patches at Commits · hsyl20/ghc-9.6-js · Sylvain Henry / Glasgow Haskell Compiler · GitLab to get TH support too :wink:

2 Likes