@@ -337,13 +337,13 @@ lazy val nativeServer: Project = (project in file("native-server"))
337
337
// We want to include the image generated in stage0 around the COPY commands
338
338
val lastIndexOfCopy = commands.lastIndexWhere {
339
339
case Cmd (" COPY" , _) => true
340
- case _ => false
340
+ case _ => false
341
341
}
342
342
343
343
val (front, back) = commands.splitAt(lastIndexOfCopy + 1 )
344
344
345
345
val updatedCommands = front.filter {
346
- case Cmd (" COPY" , args@ _* ) =>
346
+ case Cmd (" COPY" , args @ _* ) =>
347
347
// We do not want to include jar layers (the one with number based root path: /1, /2, /3, etc.)
348
348
args.head.startsWith(" opt" )
349
349
case _ => true
@@ -356,17 +356,17 @@ lazy val nativeServer: Project = (project in file("native-server"))
356
356
},
357
357
Docker / defaultLinuxInstallLocation := " /opt/elasticmq" ,
358
358
Docker / mappings ++= Seq (
359
- (baseDirectory.value / " .." / " server" / " docker" / " elasticmq.conf" ) -> " /opt/elasticmq/elasticmq .conf" ,
360
- (baseDirectory.value / " .." / " server" / " src" / " main" / " resources" / " logback.xml" ) -> " /opt/elasticmq/ logback.xml" ,
361
- ) ++ sbt.Path .contentOf(baseDirectory.value / " .." / " ui" / " build" ).map {
362
- case (file, mapping) => (file, " /opt/elasticmq/" + mapping)
359
+ (baseDirectory.value / " .." / " server" / " docker" / " elasticmq.conf" ) -> " /opt/elasticmq.conf" ,
360
+ (baseDirectory.value / " .." / " server" / " src" / " main" / " resources" / " logback.xml" ) -> " /opt/logback.xml"
361
+ ) ++ sbt.Path .contentOf(baseDirectory.value / " .." / " ui" / " build" ).map { case (file, mapping) =>
362
+ (file, " /opt/elasticmq/" + mapping)
363
363
},
364
364
dockerEntrypoint := Seq (
365
365
" /sbin/tini" , // tini makes it possible to kill the process with Cmd+C/Ctrl+C when running in interactive mode (-it)
366
366
" --" ,
367
367
" /opt/elasticmq/bin/elasticmq-native-server" ,
368
- " -Dconfig.file=/opt/elasticmq/elasticmq .conf" ,
369
- " -Dlogback.configurationFile=/opt/elasticmq/ logback.xml"
368
+ " -Dconfig.file=/opt/elasticmq.conf" ,
369
+ " -Dlogback.configurationFile=/opt/logback.xml"
370
370
),
371
371
dockerUpdateLatest := {
372
372
! version.value.toLowerCase.contains(" rc" )
0 commit comments