You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First of all, thank you for the great work you are doing with jibbit! Very much appreciated!
Is there any way I can use an uberjar created by my tools.build program to create the container image? I am currently generating some custom files before building the uberjar and I would like to have those files in the JAR used to create the image.
Thank you!
The text was updated successfully, but these errors were encountered:
Hey @hanted26 - so sorry for taking so long to respond!
The dependent jars, gitlibs, and :local/roots from the your deps.edn basis are all copied on to a separate layer of the docker image so we don't really build a jar unless you've configured an :aot build. However, it should be possible to let you call your own tools.build to do that step.
I'm also wondering whether you could use a separate step before calling jibbit where you generate these custom files and write them to a :local/root that you reference in the dependencies of your deps.edn. That would end up copying them into a layer of your docker image and they'd be on the classpath of your program. Do you just load these generated files from the classpath (as io/resources maybe?). That might just work. Let me know.
If not, I could definitely add an option to copy these generated files into another image layer.
Hello,
First of all, thank you for the great work you are doing with jibbit! Very much appreciated!
Is there any way I can use an uberjar created by my tools.build program to create the container image? I am currently generating some custom files before building the uberjar and I would like to have those files in the JAR used to create the image.
Thank you!
The text was updated successfully, but these errors were encountered: