Open
Description
Analyzing the docker layers of node:latest
, node:slim
and node:alpine
images using dive
I found that the Yarn installation adds a /tmp/v8-compile-cache-0
with a size 2.2MiB in all these images and this is not needed for the users of theses images.
node:alpine
node:slim
node:latest
Also, the /var/cache
and /var/log
folders sounds useless.
Let me know if I can help submitting a PR with
rm -rf /tmp/*
Metadata
Metadata
Assignees
Labels
No labels