Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Updated Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Devang Gaur committed Jul 23, 2019
1 parent f15c424 commit 05edf60
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/src/main/asciidoc/inc/goals/build/_fabric8-build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,27 @@ If the mode is set to `kubernetes` then a normal Docker build is performed. The

In order to make the generated images available to the Kubernetes cluster the generated images need to be pushed to a registry with the goal <<fabric8:push>>. This is not necessary for single node clusters, though as there is no need to distribute images.

Currently, Apart from Java 8, base images for Java 11 are supported for Kubernetes build. To enable Java 11 base images,
user needs to specift release version 11 in their `maven-compiler-plugin` configuration in their project pom.

.Example for Enabling Java 11 base image.
[source,xml]
----
<plugins>
....
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
</plugins>
----

Refer to the https://github.com/fabric8io/fabric8-maven-plugin/tree/master/samples/spring-boot-with-yaml[spring-boot-with-yaml] sample for a demo.

[[build-openshift]]
=== OpenShift Build

Expand Down

0 comments on commit 05edf60

Please sign in to comment.