-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarkus S2I native binary can't be used with OpenShift build configuration #30829
Comments
/cc @cescoffier |
@michalvavrik I don't believe you use the right s2i. You need The binary one is expected to have built a native executable already. See https://github.com/quarkusio/quarkus-images#s2i---source-to-image. |
Thank you @cescoffier . I honestly don't know where I could read that fact. I can't find any reference of |
The Quarkus-images readme would be the right source. |
I see, didn't know about that project. Thank you |
Describe the bug
I use OpenShift
BuildConfig
with S2I native binary to build Quarkus application. Previously I usedubi-quarkus-native-s2i:22.2-java17
(still works), but after #27997 I tried to switch toubi-quarkus-native-binary-s2i:2.0
which never builds application (never runsmvn package
), instead it immediately looks for*-runner
which obviously does not exist.Did I misunderstood change, please? Is
ubi-quarkus-native-binary-s2i
replacement forubi-quarkus-native-s2i
?ubi-quarkus-graalvmce-s2i
doesn't work either.Expected behavior
There should be a way to use s2i, but
ubi-quarkus-native-s2i
hasn't been updated for 4 months, 22.3 is not available and clearly different image repository should be used.Actual behavior
Build fails with
How to Reproduce?
Reproducer:
Steps to reproduce the behavior:
oc new-project mvavrik-s2i-debug
oc apply -f settings-mvn.yml
oc apply -f openshift.yml
oc logs bc/app -n mvavrik-s2i-debug
oc delete project mvavrik-s2i-debug
Prerequisities:
settings-mvn.yml
with following contentopenshift.yml
with following contentOutput of
uname -a
orver
Linux
Output of
java -version
OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
GraalVM version (if different from Java)
22.3
Quarkus version or git rev
2.16.1.FInal
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Additional information
No response
The text was updated successfully, but these errors were encountered: