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
Have you thought about using multi-stage build to reduce the size and surface (from a security standpoint) of the final image?
My suggestion would be to use JDK in the build container and then only JRE (and of course no Maven) in the final container. Having the JDK in a docker image is always quite a security risk.
The text was updated successfully, but these errors were encountered:
Thanks for this great docker container!
Have you thought about using multi-stage build to reduce the size and surface (from a security standpoint) of the final image?
My suggestion would be to use JDK in the build container and then only JRE (and of course no Maven) in the final container. Having the JDK in a docker image is always quite a security risk.
The text was updated successfully, but these errors were encountered: