Apt repository mirroring with docker
Creating apt repo mirroring with docker can be helpful. - It allow you to build faster your containers having local connection - Debian repo are a little instable since months, then having local repo can stabilize your CI - You can control the lifetime repos, then you are sure that your very olds apps still build over time, even if distribution owner decide to remove a version from his repos
A simple apache instance can serve the repo for your containers.
Here is the code for this simple Dockerfile :