note / docker-ammonite

Dockerfile for Ammonite (Scala REPL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerfile for Ammonite

Based on alpine for minimal size

Docker Hub: https://hub.docker.com/r/note/ammonite

Usage

Run a script with Ammonite

You can execute a script hello.sc with:

docker run --rm -it -v $HOME/.cache/coursier:/root/.cache/coursier -v $(pwd)/hello.sc:/root/hello.sc note/ammonite amm hello.sc

Open Ammonite REPL

docker run --rm -it -v $HOME/.cache/coursier:/root/.cache/coursier note/ammonite

About

Dockerfile for Ammonite (Scala REPL)

License:MIT License


Languages

Language:Shell 52.6%Language:Dockerfile 47.4%