Skip to content
Branch: master
Find file History
balopat cut v0.25.0 (#1808)
* cut v0.25.0
Latest commit 0f4b8fe Mar 15, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.mvn/wrapper
k8s Use Maven wrapper for easier example start, plus expose container por… Jan 15, 2019
src/main/java/hello Add a sample for Jib Oct 24, 2018
.gitignore Add a sample for Jib Oct 24, 2018
README.adoc
mvnw Use Maven wrapper for easier example start, plus expose container por… Jan 15, 2019
mvnw.cmd Use Maven wrapper for easier example start, plus expose container por… Jan 15, 2019
pom.xml Upgrade Jib to 1.0.2 Mar 11, 2019
skaffold.yaml

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.

You can’t perform that action at this time.