Sign inSign up

tprimke/purescript

By tprimke

•Updated over 4 years ago

My images for PureScript projects development.

Image
0

469

tprimke/purescript repository overview

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.

⁠0.14.7

The image provides the following tools:

  • node, npm and yarn,
  • PureScript 0.14.7,
  • Spago 0.20.7,
  • Terser 5.11.0.

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" ]

⁠0.14.5

The image provides the following tools:

  • node, npm and yarn,
  • PureScript 0.14.5,
  • Spago 0.20.3,
  • Terser 5.9.0.

⁠0.14.4

The image provides the following tools:

  • node, npm and yarn,
  • PureScript 0.14.4,
  • Spago 0.20.3,
  • Terser 5.7.2.

⁠0.14.3

The image provides the following tools:

  • node, npm and yarn,
  • PureScript 0.14.3,
  • Spago 0.20.3,
  • Terser 5.7.0.

Tag summary

Content type

Image

Digest

Size

142.6 MB

Last updated

over 4 years ago

docker pull tprimke/purescript:0.14.7