1.2 KiB
1.2 KiB
sneak/ubuntumirror
Docker image for syncing ubuntu LTS mirrors to reduce network traffic and speed up build times.
Then even your builds (where you can't specify links to other containers by hostname) will go fast.
Levers
Environment Variables
MIRROR_ARCHITECTURES
- default
amd64
. - You may want
i386,amd64
.
- default
MIRROR_CATEGORIES
- Default
main,universe,restricted,multiverse
. Will use lots of disk. - You may want
main,universe
.
- Default
UBUNTU_MIRROR_PROJECTS
- Default
bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports
. - You may want only
focal,focal-updates,focal-security,focal-backports
.
- Default
UBUNTU_MIRROR_SOURCE
- upstream server to mirror from- default
archive.ubuntu.com
. - You may want
xx.archive.ubuntu.com
(wherexx
is your country code).
- default
UBUNTU_SOURCE_MIRROR
- do we want to mirror all the source code too?- Default ``
- You may want
1
if you want to use up even more disk for your mirror
MIRROR_INTERVAL_SECONDS
- mirror update interval- default
43200
(12h) - You may want
10800
(3h)
- default
Example CapRover Definition File
{
"schemaVersion": 2,
"imageName": "sneak/ubuntumirror:latest"
}