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

Use Distroless for runtime containers #379

Open
mishraomp opened this issue Dec 18, 2024 · 1 comment
Open

Use Distroless for runtime containers #379

mishraomp opened this issue Dec 18, 2024 · 1 comment

Comments

@mishraomp
Copy link

mishraomp commented Dec 18, 2024

Currently app using ubuntu image to run graalvm native containers, I would recommend to switch to distroless containers , if required use the debug tag.

https://github.com/bcgov/nr-bcws-wfprev/blob/main/client/wfprev-war/Dockerfile

https://github.com/bcgov/nr-bcws-wfprev/blob/main/server/wfprev-api/Dockerfile.graalvm#L39-L54

https://github.com/GoogleContainerTools/distroless?tab=readme-ov-file#why-should-i-use-distroless-images

sample dockerfile for node: https://github.com/bcgov/quickstart-openshift/blob/main/backend/Dockerfile

@agordon-vivid @dhlevi @cboreen

cc @WillRobins32

@dhlevi
Copy link
Contributor

dhlevi commented Dec 23, 2024

Thanks @mishraomp we're updating the dockerfile to use distroless containers

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

2 participants