allow package installations to stay local at another docker container
Project description
docker mirror packages repo
Allows to simulate upstream centos / ubuntu / opensuse package repository servers by using a docker container which contains a local package mirror.
The scripts in this project allow to build a local package mirror using rsync. When ready the rpm/deb packages get copied into a docker image which has a small web script that mimics the mirrorlist function of the original upstream package repository servers.
There is a helper script docker_mirror which can start a mirror docker image as container. The --add-hosts option prints the line for "docker run" so that calls to the original upstream package server get diverted to the ip address locally running docker container.
Effectively all "yum install"
or "zypper install"
or
"apt-get install"
commands run locally in the docker
network. No internet access required. Without changing
repo files. Without special proxy host setups. This is
faster, allows for reproducible install tests, and it
can be used in a disconnected environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for docker-mirror-packages-repo-1.7.5111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3163576898e13736abc071998a205cf9bf76ddb7cd12b20e68aa24dd3fe408a2 |
|
MD5 | 0dcc765b16b9f02dd7e2a99c583e9775 |
|
BLAKE2b-256 | 6fe0706457c997455ad9e194617fde7a2ab7b3f4d76b73568204f3d1e42cd0a1 |