-
Notifications
You must be signed in to change notification settings - Fork 444
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
docker packager ignores settings #605
Comments
Hm. So lazy val overrider = project.in( file("modules/override-flow"))
.dependsOn(consumer,adapters,monitor,flows)
.aggregate(consumer, adapters,monitor,flows)
.enablePlugins(JavaAppPackaging)
.enablePlugins(DockerPlugin)
.settings(
// this should apply these settings correctly to 'overrider'
dockerExposedVolumes := Seq("/opt/docker/logs","/opt/docker/config"),
dockerExposedPorts := Seq(8080),
dockerBaseImage := "java:8-jre"
) When you run
The other settings you apply directly in your
|
Moving the specific settings to the correct project did the trick:
After applying the changes the image is created correctly.
Can not recreate former conditions even after cache cleaning. |
I have the following build.sbt (some settings removed for brevity)
root project is packaged as expected but overrider project will package with default settings.
No errors and everything finishes "successfully".
Am I missing something?
The text was updated successfully, but these errors were encountered: