Sign inSign up

fizruk/stack-ghcjs

By fizruk

•Updated over 7 years ago

Stack + GHCJS + patched GHCJSi

Image
0

286

fizruk/stack-ghcjs repository overview

Dockerfile⁠. Sample stack.yaml configuration using this image⁠.

This is based on dplusic/stack-ghcjs⁠ and features a patched GHCJSi with enabled static file server support for GHCJSi.

Typical usage:

export GHCJSI_STATIC_DIR=/path/to/static/files

stack ghci --docker \
  --docker-mount "${GHCJSI_STATIC_DIR}" \
  --docker-env "GHCJSI_STATIC_DIR=${GHCJSI_STATIC_DIR}"

When GHCJSi is loaded go to http://localhost:6401⁠ for default GHCJSi session or to http://localhost:6401/customSession.html⁠ (if you have customSession.html in your static files directory).

A real-world project that uses the image: https://github.com/fizruk/miso-aframe⁠ See also upstream pull request to add static files support to GHCJSi: https://github.com/ghcjs/ghcjs/pull/616⁠

Tag summary

Content type

Image

Digest

Size

2.7 GB

Last updated

over 7 years ago

docker pull fizruk/stack-ghcjs:ar-cube