79647999

Date: 2025-06-01 22:48:37
Score: 1
Natty:
Report link

when you install something from an external url that cannot be versioned or that the content can change, docker cannot cache the command and need to execute it at every build.

In your case, the package is not redownloaded because of the mount, the package is present so no need to be redownloaded but the docker run line is steel executed.

(i'm not english native so i hope it is comprehensible)

Reasons:
  • Whitelisted phrase (-1): In your case
  • No code block (0.5):
  • Starts with a question (0.5): when you in
  • Low reputation (1):
Posted by: fabiocuciuffo