images icon indicating copy to clipboard operation
images copied to clipboard

Should node (latest) images have a shell?

Open macabu opened this issue 1 year ago • 3 comments

Which image/versions are related to this issue/feature request?

cgr.dev/chainguard/node-lts:latest@sha256:4d282d59c135c0d4d90f1228d5bae9827da8aed37153bba3fee98f9f42d103fc

Issue/Feature description

I was reading this page and it says:

Having a package manager and the ability to log into the image to debug any issues is very important at development time, but becomes unnecessary (and less safe) when talking about production environments. That’s why we recommend using a distroless variant for production workloads.

It implied to me that the node images wouldn't contain a shell, like the php one doesn't.

Are they required to have a shell for some other reason?

Sorry if this has been raised before but I couldn't find the issue!

macabu avatar Dec 19 '23 10:12 macabu