object Packaging {
  import com.typesafe.sbt.packager.archetypes.JavaAppPackaging
  import com.typesafe.sbt.packager.docker.DockerPlugin
  import com.typesafe.sbt.packager.Keys._
  import sbt.Keys._
  import DockerPlugin.autoImport.Docker
  import com.typesafe.sbt.SbtGit.git

  lazy val settings = Seq(
    packageName in Docker := "sota-" + packageName.value,
    version in Docker := git.gitDescribedVersion.value.get,
    dockerUpdateLatest in Docker := true
  )

  val plugins = Seq(DockerPlugin, JavaAppPackaging)
}
object Packaging {
  import com.typesafe.sbt.packager.archetypes.JavaAppPackaging
  import com.typesafe.sbt.packager.docker.DockerPlugin
  import com.typesafe.sbt.packager.Keys._
  import sbt.Keys._
  import DockerPlugin.autoImport.Docker
  import com.typesafe.sbt.SbtGit.git

  lazy val settings = Seq(
    packageName in Docker := "sota-" + packageName.value,
    dockerBaseImage := "advancedtelematic/java:openjdk-8-jre",
    version in Docker := git.gitDescribedVersion.value.get,
    dockerUpdateLatest in Docker := true
  )

  val plugins = Seq(DockerPlugin, JavaAppPackaging)
}

Use a Debian 8 baseimage
Use a Debian 8 baseimage
