Git Product home page Git Product logo

docker-alpine-elm's Introduction

Elm on Alpine with Docker

An easy way to start with Elm. No any system-wide dependencies except for Docker.

This is full working image of Elm language 0.19 and 0.18 built on top of Alpine.

Since the image is based on Alpine distributive, it's suitable for use at production servers as base image.

Docker tags

You can choose one of the variants below:

  • Elm 0.19 on Alpine 3.8: latest, 0.19, 0.19-alpine3.8;
  • Elm 0.19 on Alpine 3.7: 0.19-alpine3.7;
  • Elm 0.18 on Alpine 3.8: 0.18, 0.18-alpine3.8;
  • Elm 0.18 on Alpine 3.7: 0.18-alpine3.7.

See official repository at Docker Hub.

Usage

There are 8000 port is exposed in Dockerfile and /opt/app directory is prepared for mounting.

Elm 0.19

Check it out:

$ docker run --rm wunsh/alpine-elm:latest

Now, try to play with Elm in the interactive REPL:

$ docker run --rm -it wunsh/alpine-elm:latest repl

The more complicated way to play with Elm is using Reactor. This is on-the-fly development server, launched on 8000 port:

$ docker run --rm -it -v $(pwd):/opt/app -p 8000:8000 wunsh/alpine-elm:latest reactor

You can start new project in the current directory like this:

$ docker run --rm -v $(pwd):/opt/app -it wunsh/alpine-elm:latest init

Another commands supported by Elm 0.19:

elm make    --help
elm install --help
elm bump    --help
elm diff    --help
elm publish --help

Elm 0.18

Approaches for 0.18 version are the same as presented above.

docker-alpine-elm's People

Contributors

jarosluv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.