Skip to content

Commit

Permalink
Move to new s2i native images introduced in Quarkus 2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik authored and fedinskiy committed Feb 6, 2023
1 parent a6e408a commit cbeaee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class QuarkusProperties {
public static final PropertyLookup QUARKUS_JVM_S2I = new PropertyLookup("quarkus.s2i.base-jvm-image",
"registry.access.redhat.com/ubi8/openjdk-17:latest");
public static final PropertyLookup QUARKUS_NATIVE_S2I = new PropertyLookup("quarkus.s2i.base-native-image",
"quay.io/quarkus/ubi-quarkus-native-binary-s2i:1.0");
"quay.io/quarkus/ubi-quarkus-native-binary-s2i:2.0");

private QuarkusProperties() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class OpenShiftS2iGitRepositoryQuarkusApplicationManagedResource
private static final String QUARKUS_SOURCE_S2I_SETTINGS_MVN_FILENAME = "settings-mvn.yml";
private static final String INTERNAL_MAVEN_REPOSITORY_PROPERTY = "${internal.s2i.maven.remote.repository}";
private static final PropertyLookup MAVEN_REMOTE_REPOSITORY = new PropertyLookup("s2i.maven.remote.repository");
// TODO: use ubi-quarkus-native-binary-s2i once upstream https://github.com/quarkusio/quarkus/issues/30829 is fixed
private static final PropertyLookup QUARKUS_NATIVE_S2I_FROM_SRC = new PropertyLookup("s2i.openshift.base-native-image",
"quay.io/quarkus/ubi-quarkus-native-s2i:22.2-java17");

Expand Down

0 comments on commit cbeaee8

Please sign in to comment.