Przemek February 2016

Multiple docker images from SBT

I'm using sbt native packager to generate docker image for Spray API application. Code is just simplest version from tutorial. Now I'd like to reuse some case classes and create job process loading data in my backend.

parent project
* common protocol
* API
* Job

How to generate two docker images from one project?

Answers


Przemek February 2016

Minimal example can be found in this repo.

The answer is that you could enable DockerPlugin in each project module you want to generate Docker image for.

Post Status

Asked in February 2016
Viewed 1,984 times
Voted 8
Answered 1 times

Search




Leave an answer