Skip to content
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

Create some generic S2I base image for running native executable #2140

Open
2 tasks
rohanKanojia opened this issue Apr 18, 2023 · 0 comments
Open
2 tasks

Create some generic S2I base image for running native executable #2140

rohanKanojia opened this issue Apr 18, 2023 · 0 comments

Comments

@rohanKanojia
Copy link
Member

rohanKanojia commented Apr 18, 2023

Component

None

Task description

Description

Related to #2138 #1714 #494

Currently, only Quarkus seems to support S2I build in native modes. It seems to be using base image provided by Quarkus:
https://github.com/eclipse/jkube/blob/34c6f4d6db099641100886903dc41cff963e9627/jkube-kit/jkube-kit-quarkus/src/main/java/org/eclipse/jkube/quarkus/generator/QuarkusGenerator.java#L145

This image can't be used in other frameworks because it tries to find some native executable with prefix -runner

If we want to support native mode for S2I builds in other frameworks, we need to create some generic S2I base image to build a container image containing a native executable.

Expected Behavior

Native modes should be supported by S2I build strategy as well

Acceptance Criteria

  • Create S2I container image for running native executables
  • Update existing generators to use this image in OpenShift platform mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant