-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Support jib "extra directories" feature #8936
Comments
/cc @geoand |
I think it makes sense. I'll check it out soon. |
Actually I think it makes sense to wait for a new |
Release 0.14 & 0.15 of |
Yeah, it's probably as time of a good time as any |
#10011 should take care of this |
Cool! Along with #8937 this will be a very nice feature to allow adding things like a wait script. |
Right, I forgot about that one, thanks! |
I guess this just overrides the target directory. I am trying to copy files under /lib64 but it replaces the entire folder. As I checked this is doable with the jib plugin. Is there a way I can use jib plugin alongside with Quarkus? |
Not really. What exactly do you want to do that is not currently working? |
I am trying to add some libraries needed for AWT under I extracted libraries from an image and placed them under But this replaces the entire Right now I am trying to place these libraries on a temp folder and use a custom entrypoint.sh copying files to lib64 then running ./application. (using both native and regular images) Edit: Posting as a reference. Ended up putting files to
|
@ayhanap Do you know if the jib maven plugin adds the files instead of replacing the entire directory? |
@geoand Docs and previous issues mention adding specific files but that's just a way to filter files to be copied etc. I just set up a project and tried every option the jib plugin has and it has the same behavior. Sorry for keeping you busy. I asked a question on google jib issues, will keep updated if there is a way to do it. Right now I am good with the current workaround of moving files to destination folder with a custom entrypoint.sh |
Thanks for checking. If the jib maven plugin has this behavior, then I think we are good in Quarkus as well.
👍🏼 |
Ok turns out the problem I am facing is because |
Cool, that information will certainly be useful to others |
There should be support for the extra directory feature of jib.
It is often necessary to have some extra files in the container image that are not part of the Java application. An example could be some kind of "wait" script or utility that allows the Quarkus app to wait for a database container to be available before the app is actually started. Currently this is not possible when using jib.
The text was updated successfully, but these errors were encountered: