Add .cache folder to .dockerignore for server, slave and web containers#181
Add .cache folder to .dockerignore for server, slave and web containers#181sbesson merged 3 commits intoome:masterfrom
Conversation
joshmoore
left a comment
There was a problem hiding this comment.
LGTM. Likely, this can be extended further since directories are mounted into the images.
|
The GH actions failed with Trying to identify the issue brought me to opencontainers/runc#2928. It looks like some changes have been made to relax the absolute path requirement (opencontainers/runc#3004) but absolute paths will be enforced at some point (opencontainers/runc#3020). For this PR, an immediate workaround would be to downgrade to an earlier version of Ubuntu and/or |
|
"Use double quotes rather than single quotes for VOLUME" Wow! Was this a change in docker itself? |
|
Now green... |
|
Merging and tagging as it is validated. https://github.com/search?l=Dockerfile&p=3&q=org%3Aome+%22VOLUME+%5B%22&type=Code seems to indicate this repository was the only place where we used |
While working on
latest-ciand recreating containers viadocker-compose up -d, the process creates a temporary copy of the context for each container which filled/tmp.After investigating it turns out the issue comes from the
.cachedirectories which contain ~10G of data. Adding these folders to.dockerignorewas sufficient to prevent the creation of unncessary large temporary archives.