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

If there are two 'App' objects in project, docker:publishLocal task will silently produce invalid image without bin/app-name file #858

Closed
Ajk4 opened this issue Aug 3, 2016 · 1 comment
Labels
documentation Documentation should be extended or updated

Comments

@Ajk4
Copy link

Ajk4 commented Aug 3, 2016

If there are two 'App' objects in project, docker:publishLocal task will siliently produce invalid image without bin/app-name files, which will fail upon running container.

Expected behaviour would be to fail fast - at docker:publishLocal time with proper message.

Adding explicit

mainClass in Compile := Some("my.Class")

solves the issue

@Ajk4 Ajk4 changed the title If there are two 'App' objects in project, docker:publishLocal task will siliently produce invalid image without bin/deepsense-sessionmanager files If there are two 'App' objects in project, docker:publishLocal task will siliently produce invalid image without bin/app-name file Aug 3, 2016
@Ajk4 Ajk4 changed the title If there are two 'App' objects in project, docker:publishLocal task will siliently produce invalid image without bin/app-name file If there are two 'App' objects in project, docker:publishLocal task will silently produce invalid image without bin/app-name file Aug 3, 2016
@muuki88 muuki88 added the documentation Documentation should be extended or updated label Aug 3, 2016
@muuki88
Copy link
Contributor

muuki88 commented Aug 3, 2016

This part is not covered in the docs. Feel free to make a pull request to add this information.

We are currently working on a more generic solution in #839

@muuki88 muuki88 closed this as completed Aug 3, 2016
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

2 participants