Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu Linux Apt Repository
Full Description

Ubuntu Repository

Ubuntu Repository for amd64 and i386:

Trusty
Vivid
Wily
Xenial

Plan on using about 700GB of disk space.

Pull the latest image.

docker pull tighek/ubuntu-repo:latest

Create a data container for the cached packages.

docker create -v /srv/ubuntu-repo --name repo-data ubuntu:16.04 /bin/true

Create a container and publish the required tcp port. This will mirror Trusty, Vivid, Wily, and Xenial.

docker run -d --name ubuntu-repo --volumes-from repo-data --restart=always -p 80:80 tighek/ubuntu-repo:latest

If you're rather use a local mirror.list so you can easily adjust what's being mirrored, create the contianer using this:

docker run -d --name ubuntu-repo --volumes-from repo-data -v /srv/ubuntu-repo/mirror.list:/etc/apt/mirror.list --restart=always -p 80:80 tighek/ubuntu-repo:latest

Here's the mirror.list included inside the container.

############# config ##################
#
set base_path /srv/ubuntu-repo
set nthreads 30
set _tilde 0
#
############# end config ##############

# Trusty

deb-amd64 http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse

# Vivid

deb-amd64 http://archive.ubuntu.com/ubuntu vivid main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu vivid main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu vivid-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu vivid-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu vivid-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu vivid-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu vivid-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu vivid-proposed main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu vivid-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu vivid-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu vivid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu vivid-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu vivid-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu vivid-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu vivid-backports main restricted universe multiverse

# Wily

deb-amd64 http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu wily-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu wily-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu wily-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu wily-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu wily-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu wily-proposed main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu wily-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu wily-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu wily-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu wily-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu wily-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu wily-backports main restricted universe multiverse

# Xenial

deb-amd64 http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
Docker Pull Command
Owner
tighek