Full scala, sbt, activator stack tailored to be used as handy development docker image.
509
Add to your bashrc or zshrc:
# Tailor `-u $UID:GID` directive if it does not work for you
alias _devdocker="docker run -it --rm -v \$(pwd):\$(pwd) -w \$(pwd) -v \$(pwd)/.activator/ivy2:/root/.ivy2 -v \$(pwd)/.activator/sbt:/root/.sbt -u $UID:$GID"
alias activator="_devdocker waterlink/activator activator"
alias activator-ui="rm \?/.activator/*/.{currentpid,lock}; _devdocker -p 8000:8000 waterlink/activator activator ui -Dhttp.address=0.0.0.0"
alias sbt="_devdocker waterlink/activator sbt"
# .. an so on ..
And use it like:
activator-ui # runs activator ui on localhost:8000 (or $(docker-machine ip dev):8000)
activator new <name> <template> # new project
# .. and so on ..
MIT
Content type
Image
Digest
Size
1.2 GB
Last updated
almost 11 years ago
docker pull waterlink/docker-activator