Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi module project is packaged into multiple docker images #480

Closed
lkt opened this issue Feb 6, 2015 · 2 comments
Closed

multi module project is packaged into multiple docker images #480

lkt opened this issue Feb 6, 2015 · 2 comments
Labels
documentation Documentation should be extended or updated

Comments

@lkt
Copy link

lkt commented Feb 6, 2015

I have a multi module project. When doing docker:publishLocal or docker:publish it produces a separate docker image for each module. I would like to have it only publish the root project which contains all the submodules as jars anyway.

@lkt
Copy link
Author

lkt commented Feb 6, 2015

ok I could solve it the following way:

lazy val root = Project(
  id = "some-project",
  base = file("."))
  .enablePlugins(PlayScala)
  .dependsOn(a, b, c)
  .aggregate(a, b, c)
  .settings(aggregate in Docker := false)

@muuki88 muuki88 added the documentation Documentation should be extended or updated label Feb 7, 2015
@muuki88 muuki88 closed this as completed Feb 7, 2015
@abbi-gaurav
Copy link

Helpful!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be extended or updated
Projects
None yet
Development

No branches or pull requests

3 participants