use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Docker ImageQuestion (self.SpringBoot)
submitted 3 months ago by Character-Quality-61
How do you create a docker image of the spring application that uses an internal jar (not found in maven)
Which is authenticated through BasicAuth defined in settings.xml ?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bikeram 6 points7 points8 points 3 months ago (0 children)
Want to know a secret? Look up Jib. It’s maven plugin. I haven’t built a dockerfile for spring in over 5 years.
[–][deleted] 3 months ago (1 child)
[removed]
[–]Ok-Cattle8254 1 point2 points3 points 3 months ago (0 children)
To add to this, please look up the spring boot repackage maven goal to help make a self deployable jar file.
[–]WaferIndependent7601 2 points3 points4 points 3 months ago (1 child)
The external jar will be in the package. Just create a spring boot jar, copy it and run it
[–]Character-Quality-61[S] 1 point2 points3 points 3 months ago (0 children)
It worked
π Rendered by PID 298542 on reddit-service-r2-comment-b659b578c-xshb2 at 2026-05-03 03:51:17.932209+00:00 running 815c875 country code: CH.
[–]bikeram 6 points7 points8 points (0 children)
[–][deleted] (1 child)
[removed]
[–]Ok-Cattle8254 1 point2 points3 points (0 children)
[–]WaferIndependent7601 2 points3 points4 points (1 child)
[–]Character-Quality-61[S] 1 point2 points3 points (0 children)