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
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/*
The text was updated successfully, but these errors were encountered:
Not to be rude but why has this not been addressed? To be clear there is nothing the downstream users can do within the standard docker framework to clear tmp of the previous layers even with squash which is still considered experimental.
Analyzing the docker layers of
node:latest
,node:slim
andnode:alpine
images using diveI 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/*
The text was updated successfully, but these errors were encountered: