fix: s2i build as-dockerfile mode#1063
Conversation
|
This version inspects appropriate label and sets s2i script url. This fixes the issue with openjdk builds. |
Codecov Report
@@ Coverage Diff @@
## main #1063 +/- ##
==========================================
+ Coverage 46.79% 47.24% +0.45%
==========================================
Files 59 58 -1
Lines 7761 7854 +93
==========================================
+ Hits 3632 3711 +79
+ Misses 3783 3782 -1
- Partials 346 361 +15
Continue to review full report at Codecov.
|
b152c29 to
ea48513
Compare
834c3e0 to
086245f
Compare
The "daemon mode" doesn't work well with `podman`. Signed-off-by: Matej Vasek <mvasek@redhat.com>
086245f to
c57c502
Compare
|
recent changes tested w/ podman |
|
@lance @lkingland @zroubalik PTAL |
|
Too bad this won't make it to midstream release. Maybe we could do at least upstream release? |
zroubalik
left a comment
There was a problem hiding this comment.
/lgtm
/hold - merge as you like
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matejvasek, zroubalik The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Good workaround |
|
To be honest I not super happy about this since this introduces unnecessary project copy but this is only way how to make this work on |
|
On the bright side this may make "cross-platform" build with multi-arch images (s2i is mulitarch) easier. |
|
/lgtm |
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
Changes
"as dockerfile"mode ofs2ibuilds:Rationale:
podman< 4.0 has faulty/commitendpoint so"daemon mode"is not working/kind bug