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
Describe the bug
Distroless nodejs images currently include the /nodejs/include directory (55.4M). A large portion of this is /nodejs/include/node/openssl (53.9M) which includes include files for multiple architectures and variants.
To Reproduce
Steps to reproduce the behavior:
Pull gcr.io/distroless/nodejs20-debian12:latest or gcr.io/distroless/nodejs20-debian12:debug images:
Examine the size of the /nodejs/include directory within the container. Note that it makes up ~30% of the overall image size even though a compiler is not shipped in the image to use the include files.
Expected behavior
Either the nodejs images should omit the /nodejs/include directory or provide an image with a different tag to allow users to reduce the size of their nodejs images.
Console Output
$ docker run --rm --entrypoint sh -it gcr.io/distroless/nodejs20-debian12:debug
/ # du -sh /nodejs/include/
55.4M /nodejs/include/
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
Distroless nodejs images currently include the
/nodejs/include
directory (55.4M). A large portion of this is/nodejs/include/node/openssl
(53.9M) which includes include files for multiple architectures and variants.To Reproduce
Steps to reproduce the behavior:
gcr.io/distroless/nodejs20-debian12:latest
orgcr.io/distroless/nodejs20-debian12:debug
images:/nodejs/include
directory within the container. Note that it makes up ~30% of the overall image size even though a compiler is not shipped in the image to use the include files.Expected behavior
Either the nodejs images should omit the
/nodejs/include
directory or provide an image with a different tag to allow users to reduce the size of their nodejs images.Console Output
Additional context
n/a
The text was updated successfully, but these errors were encountered: