Closed ypid closed 8 years ago
I don't think you are missing anything.
Currently I'm not using any tricks to speed up Docker builds. I haven't any knowlege of apt-cacher-ng
, but it might be an option. Even better, would be to have some kind of universal proxy that wasn't Debian specific, but I don't know if that is possible.
apt-cacher-ng is simple to setup so if your builds are limited sometimes by your network I would suggest to check it out. I think it would also be the way to go for having a generic package caching proxy. While focused on Debian, it supports others as well (maybe even Fedora to some extend).
When I am not building my Docker base images from scratch, I modify the base image to include the proxy config (as for testing with Sid today): https://github.com/ypid/docker-image-apt-cachify-ng
Am I missing something?
BTW do you use apt-cacher-ng or some other form of local APT proxy to speed up the docker builds?