prepping for release in caprover
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jeffrey Paul 2020-02-08 05:29:08 -08:00
parent d857782830
commit 645a3f9121
3 changed files with 4 additions and 19 deletions

View File

@ -1,15 +0,0 @@
version: '2.0'
services:
mirror:
hostname: mirror
image: sneak/ubuntumirror
build: .
network_mode: bridge
volumes:
- "/mnt/scratch/mirror:/var/mirror"
ports:
- "172.17.0.1:80:80"
environment:
- UBUNTU_MIRROR_SOURCE=de.archive.ubuntu.com
- MIRROR_CATEGORIES=main,universe,restricted

View File

@ -14,9 +14,9 @@ export GNUPGHOME="/etc/debmirror/ubuntu"
debmirror \ debmirror \
-a ${MIRROR_ARCHITECTURES:-amd64} \ -a ${MIRROR_ARCHITECTURES:-amd64} \
--no-source \ --no-source \
-s ${MIRROR_CATEGORIES:-main,universe} \ -s ${MIRROR_CATEGORIES:-main,universe,multiverse,restricted} \
-h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \ -h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \
-d ${UBUNTU_MIRROR_PROJECTS:-bionic,bionic-updates,bionic-security,bionic-backports} \ -d ${UBUNTU_MIRROR_PROJECTS:-focal,focal-updates,focal-security,focal-backports} \
--ignore-small-errors \ --ignore-small-errors \
-r /ubuntu \ -r /ubuntu \
--getcontents \ --getcontents \

View File

@ -3,11 +3,11 @@
docker rm -f local-ubuntu-mirror docker rm -f local-ubuntu-mirror
docker run -d --name local-ubuntu-mirror \ docker run -d --name local-ubuntu-mirror \
-v /storage/mirrors/ubuntu/ubuntu:/var/mirror/ubuntu \ -v /storage/mirrors/ubuntu/ubuntu:/var/mirror/ubuntu \
--env UBUNTU_MIRROR_SOURCE=us.archive.ubuntu.com \ --env UBUNTU_MIRROR_SOURCE=archive.ubuntu.com \
--env MIRROR_INTERVAL_SECONDS=10800 \ --env MIRROR_INTERVAL_SECONDS=10800 \
--env MIRROR_CATEGORIES=main,universe,restricted,multiverse \ --env MIRROR_CATEGORIES=main,universe,restricted,multiverse \
--env MIRROR_ARCHITECTURES=amd64 \ --env MIRROR_ARCHITECTURES=amd64 \
--env UBUNTU_MIRROR_PROJECTS=bionic,bionic-updates,bionic-security,bionic-backports \ --env UBUNTU_MIRROR_PROJECTS=bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports \
--dns 8.8.8.8 \ --dns 8.8.8.8 \
--dns 8.8.4.4 \ --dns 8.8.4.4 \
-p 172.17.0.1:80:80 \ -p 172.17.0.1:80:80 \