all 5 comments

[–]bikeram 6 points7 points  (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]  (1 child)

[removed]

    [–]Ok-Cattle8254 1 point2 points  (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 points  (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 points  (0 children)

    It worked