Find file History
dgageot Use latest release of Jib
Signed-off-by: David Gageot <david@gageot.net>
Latest commit 4bff3e9 Jan 7, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
k8s Add a sample for Jib Oct 24, 2018
src/main/java/hello Add a sample for Jib Oct 24, 2018
.gitignore Add a sample for Jib Oct 24, 2018
README.adoc Take feedback into account Oct 24, 2018
pom.xml Use latest release of Jib Jan 7, 2019
skaffold.yaml cut v0.20.0 (#1414) Dec 21, 2018

README.adoc

Example: Jib

Jib is one of the supported builders in Skaffold. [Jib](https://github.com/GoogleContainerTools/jib) builds Docker and OCI images for your Java applications and is available as plugins for Maven and Gradle.

The way you configure it in skaffold.yaml is the following build stanza:

build:
     artifacts:
     - image: gcr.io/k8s-skaffold/skaffold-example
       context: .
       jibMaven: {}

Please note that this example is for a standalone Maven project, where all dependencies are resolved from outside. The Jib builder requires that the projects are configured to use the Jib plugins for Maven or Gradle. Multi-module builds require a bit additional configuration.