Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Jib build template - differentiate Java 8 vs Java 11 #95

Open
saturnism opened this issue Feb 19, 2019 · 0 comments
Open

Jib build template - differentiate Java 8 vs Java 11 #95

saturnism opened this issue Feb 19, 2019 · 0 comments

Comments

@saturnism
Copy link

Some Java 8 applications can't be built/run w/ OpenJDK 11. Jib build template uses the maven base image: gcr.io/cloud-builders/mvn which isn't pinned to a JDK version. As a result, the latest version of this image jumped from OpenJDK 8 to OpenJDK 11, resulting in build failures.

We should let user choose the base JDK version, potentially through:
a. different build template name (e.g., jib-maven-jdk-8) and using a pinned maven base image
b. have both OpenJDK 8 and 11 in the same base image, and let user configure via an environmental variable to specify which OpenJDK version to use.

/cc @mchmarny @coollog

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant