Apt repository mirroring with docker

From small iceberg
Revision as of 12:25, 18 June 2021 by Seb (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 :