Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-stage docker build #5

Open
UncleSamSwiss opened this issue May 1, 2019 · 0 comments
Open

Multi-stage docker build #5

UncleSamSwiss opened this issue May 1, 2019 · 0 comments

Comments

@UncleSamSwiss
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant