You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gitea/docker-debmirror/pipeline/head This commit looks good
Details
|
4 months ago | |
---|---|---|
Dockerfile | 4 months ago | |
Jenkinsfile | 4 months ago | |
README.md | 4 months ago | |
crontab | 4 months ago | |
mirror-once.sh | 4 months ago | |
mirror.sh | 4 months ago | |
retry.sh | 4 months ago | |
run-debmirror.sh | 4 months ago | |
start | 4 months ago | |
vars.sh | 4 months ago |
README.md
docker-debmirror
Runs the debmirror
utility and cron under docker.
Usage
- Mount the data volume at
/data
. Packages and other data will be kept here. Packages & indexes will be kept in thefiles
subdirectory. - Set any of the below options as environment variables in the container to further configure the mirror.
Options
These environment variables configure the mirror and container. Defaults are shown
MIRROR_UID=1000
- filesystem uid for mirrored filesMIRROR_GID=1000
- filesystem gid for mirrored filesMIRROR_ARCH=amd64
- architectures to mirrorMIRROR_SECTION=main,restricted,universe,multiverse
- sections to mirrorMIRROR_RELEASE=jammy,jammy-security,jammy-updates,jammy-backports
- releases to mirrorMIRROR_SERVER=archive.ubuntu.com
- mirroring source serverMIRROR_PROTO=http
- mirring protocolMIRROR_CRON="8 4 * * *"
- cron expression for mirroring job
TODO
- Have the container kill itself if the cronjob fails?