Compare commits

...

3 Commits

Author SHA1 Message Date
3b7d6a38e9 Merge branch 'master' of sneak/docker-ubuntumirror into prod
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-01 09:00:58 +00:00
6f8da3c8e4 Update 'mirror/syncubuntu.sh'
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2020-03-01 08:59:57 +00:00
caece7197d Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-01 08:59:35 +00:00
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ ENV UBUNTU_MIRROR_ARCHITECTURES amd64
ENV UBUNTU_ENABLE_SOURCE_MIRRORING false ENV UBUNTU_ENABLE_SOURCE_MIRRORING false
ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse,main/debian-installer ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse,main/debian-installer
ENV UBUNTU_MIRROR_UPSTREAM archive.ubuntu.com ENV UBUNTU_MIRROR_UPSTREAM archive.ubuntu.com
ENV UBUNTU_MIRROR_UPSTREAM_PATH /ubuntu
ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports
# The following is the URL populated in /mirrors.txt as used by mirror:// # The following is the URL populated in /mirrors.txt as used by mirror://

2
mirror/syncubuntu.sh Executable file → Normal file
View File

@ -32,7 +32,7 @@ while [[ $DONE -eq 0 ]]; do
--di-dist="$DIDIST" \ --di-dist="$DIDIST" \
--di-arch=arches \ --di-arch=arches \
--ignore-small-errors \ --ignore-small-errors \
-r /ubuntu \ -r "$UBUNTU_MIRROR_UPSTREAM_PATH" \
--getcontents \ --getcontents \
--progress \ --progress \
--method=http \ --method=http \