Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-java

Minimal docker image for JVM apps. Image available at https://registry.hub.docker.com/u/voxsupplychain/docker-java/

For apps built by the sbt-native-packager, in your sbt build add the following settings:
enablePlugins(JavaServerAppPackaging)
enablePlugins(DebianDeployPlugin)
enablePlugins(DockerPlugin)

// example docker build settings
      daemonUser in Docker := "root", // user in the Docker image which will execute the application (must already exist)
      dockerBaseImage := "voxsupplychain/docker-java", // Docker image to use as a base for the application image
      dockerExposedPorts in Docker := Seq(7000, 7002), // Ports to expose from container for Docker container linking
      dockerRepository := Some("voxsupplychain"), // Repository used when publishing Docker image
      dockerUpdateLatest := true,
Docker Pull Command
Owner
voxsupplychain
Source Repository

Comments (0)