Public | Automated Build

Last pushed: a year ago
Short Description
Docker image with activator installed over the alpine version of the official java image
Full Description

alptivator

Docker image with activator installed over the java:alpine version of the official java image.

Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

Requirements

  • Docker 1.6+

How to use

docker run [DOCKER_OPTIONS] neowinx/alptivator activator [ACTIVATOR_CMD]

Where [ACTIVATOR_CMD] is any subcommand like ui, compile, etc.

Use examples

Ui

To run the activator ui:

docker run -ti --rm neowinx/alptivator activator ui

Compile

Inside your project:

docker run -ti --rm neowinx/alptivator activator compile

Repo directories

You can mount your sbt, ivy and maven directories inside the container to avoid donwload the next time you execute the activator command.

I recommend you to do it. It is slower the first time, but believe me, it is almost mandatory.

docker run -ti --rm -v $HOME/.sbt:/root/.sbt -v $HOME/.ivy2:/root/.ivy2 neowinx/alptivator activator compile

Enjoy

Pedro Flores

Docker Pull Command
Owner
neowinx
Source Repository

Comments (0)