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
(.setEntrypoint ((or (load-entry-point custom-entry-point) entry-point) c)) ;; with custom-entry-point the eventual custom fn provided in jib.edn for instance
Let me know if it makes sense.
The text was updated successfully, but these errors were encountered:
Problem
In entry-point, the following is used for the entrypoint:
["java" "-Dclojure.main.report=stderr" "-Dfile.encoding=UTF-8"]
and the-cp
and-m
args are concatenated to it.It is common to start an app with custom
JAVA_OPTS
.In the current implementation, the only way to do so seems to provide a custom
entrypoint
script such as:java $JAVA_OPTS -cp ... clojure.main -m my.app.core
But providing the value of -cp is not ideal as it can be very long since jibbit does not provide a way to generate a
uberjar
.Suggestion
In my case I would like
entry-point
to look like this for instance:Maybe the user could provide his own
custom-entry-point
in the jib config?And in jib-build we could replace:
by
Let me know if it makes sense.
The text was updated successfully, but these errors were encountered: