Go to file
Jeffrey Paul 4ff75ed861
continuous-integration/drone/push Build is failing Details
update readme, fix bugs
2020-02-15 10:21:00 -08:00
bin move startup script 2020-02-15 10:14:26 -08:00
mirror update for focal, also to support source mirror 2020-02-15 09:55:25 -08:00
.drone.yml Update '.drone.yml' 2020-02-15 17:39:38 +00:00
Dockerfile update readme, fix bugs 2020-02-15 10:21:00 -08:00
Makefile latest 2016-04-09 19:23:37 +02:00
README.markdown update readme, fix bugs 2020-02-15 10:21:00 -08:00
mirror.run update readme, fix bugs 2020-02-15 10:21:00 -08:00
nginx.conf now serves /mirrors.txt to support ubuntu mirror:// urls 2016-04-11 04:36:47 +02:00
nginx.run initial 2016-04-08 22:41:48 +02:00
sources.list updates 2019-01-25 06:10:37 +00:00

README.markdown

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.
  • MIRROR_CATEGORIES
    • Default main,universe,restricted,multiverse. Will use lots of disk.
    • You may want main,universe.
  • 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.
  • UBUNTU_MIRROR_SOURCE - upstream server to mirror from
    • default archive.ubuntu.com.
    • You may want xx.archive.ubuntu.com (where xx is your country code).
  • 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)

Example CapRover Definition File

 {
  "schemaVersion": 2,
  "imageName": "sneak/ubuntumirror:latest"
}