My images for PureScript projects development.
469
I'm going to provide images, that I use to develop my project EduSim, with PureScript.
I always try to build the images, so they are minimal in size.
When I find more time, I'm also going to publish the Dockerfiles.
The indended way to use the image (in the project's directory):
docker run -it -v "$(pwd):/home/node/project" -w "/home/node/project" tprimke/purescript:<tag> /bin/bash
If you want to start some server, the -p option can be also used to map ports between container and your host system.
In such a way, you start a terminal session, where you can use both node and PureScript tools.
The image provides the following tools:
The node.js version has been upgraded to 16.14.0 (the current LTS, as of February 2022), and the libtinfo5 added (required by PureScript 0.14.7 binary build).
The Dockerfile used to build the image:
FROM node:16.14.0-buster-slim
ENV PURESCRIPT_VERSION 0.14.7
ENV SPAGO_VERSION 0.20.7
ENV TERSER_VERSION 5.11.0
RUN apt update \
&& apt install -y git libtinfo5 \
&& npm install -g purescript@$PURESCRIPT_VERSION --unsafe-perm \
&& npm install -g spago@$SPAGO_VERSION --unsafe-perm \
&& npm install -g terser@$TERSER_VERSION \
# smoke tests
&& purs --version \
&& spago --version \
&& terser --version
CMD [ "node" ]
The image provides the following tools:
The image provides the following tools:
The image provides the following tools:
Content type
Image
Digest
Size
142.6 MB
Last updated
over 4 years ago
docker pull tprimke/purescript:0.14.7