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
And we add the correct entry point of our jar for spring (if we have spring boot >= 3.2, then the class will be different org.springframework.boot.loader.launch.JarLauncher):
As a result, fat jar will simply lie in /app/classpath folder.
If you do everything through jib-cli, then instead of fat jar there will be an unpacked jar in the /app folder.
Hello.
Sorry that perhaps this is not the place to write.
I have a question, I couldn’t find information on it in the faq.
I'm using spring boot + proguard + jib.
I was able to get my jar to load into docker and run successfully via jib-cli.
ex: jib jar --target docker://myregistry/auth auth-0.0.1.jar --from baseimage
But is there a way to arrange all this through pom.xml of my service via jib-maven-plugin?
Here https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#i-want-to-containerize-a-jar it is written about
packaged.
But it doesn't give the same result.
The text was updated successfully, but these errors were encountered: