marcoabreu commented on issue #10581: [MXNET-327] Fix docker disk-space leak by rearranging
ubuntu_build_cuda
URL: https://github.com/apache/incubator-mxnet/pull/10581#issuecomment-382149173
Everything up to (exclusively) ```RUN /work/ubuntu_adduser.sh``` is cached and everything
afterwards is not cached. Usually, this is no problem since docker is able to fuse multiple
layers together into a temporary one which is not being put into the docker cache. The problem
here is that ```RUN /work/ubuntu_nvidia.sh``` creates a new unfusable permanent layer, which
results in always creating a new docker cache entry and thus filling up the disk.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|