4 Commits

Author SHA1 Message Date
c549c75107 add main/debian-installer to categories
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 08:23:00 -08:00
bc3736a5a4 try to correct di-dist arg
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 08:11:34 -08:00
6f8096650c Merge branch 'next'
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 08:05:36 -08:00
be0d3cb859 Merge branch 'next' of sneak/docker-ubuntumirror into master
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-16 14:12:50 +00:00
2 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ ENV MIRROR_UPDATE_INTERVAL_SECONDS 43200
ENV UBUNTU_MIRROR_ARCHITECTURES amd64 ENV UBUNTU_MIRROR_ARCHITECTURES amd64
# set to anything but 'false' to mirror source code as well # set to anything but 'false' to mirror source code as well
ENV UBUNTU_ENABLE_SOURCE_MIRRORING false ENV UBUNTU_ENABLE_SOURCE_MIRRORING false
ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse 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_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

View File

@@ -18,6 +18,10 @@ fi
DONE=0 DONE=0
DIDIST="$(
echo -n "$UBUNTU_MIRROR_PROJECTS" | tr "," "\n" | grep -v "\-" | tr "\n" ","
)"
while [[ $DONE -eq 0 ]]; do while [[ $DONE -eq 0 ]]; do
debmirror \ debmirror \
-a ${UBUNTU_MIRROR_ARCHITECTURES} \ -a ${UBUNTU_MIRROR_ARCHITECTURES} \
@@ -25,7 +29,7 @@ while [[ $DONE -eq 0 ]]; do
-h ${UBUNTU_MIRROR_UPSTREAM} \ -h ${UBUNTU_MIRROR_UPSTREAM} \
-d ${UBUNTU_MIRROR_PROJECTS} \ -d ${UBUNTU_MIRROR_PROJECTS} \
$SOURCEOPT \ $SOURCEOPT \
--di-dist=dists \ --di-dist="$DIDIST" \
--di-arch=arches \ --di-arch=arches \
--ignore-small-errors \ --ignore-small-errors \
-r /ubuntu \ -r /ubuntu \