From f729ada878c10854fc3d0e57d28767617e21b869 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 18 Feb 2022 18:00:52 +0100 Subject: [PATCH] Dockerfile: parallel downloads --- build-pkg/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build-pkg/Dockerfile b/build-pkg/Dockerfile index 4586755..0f663df 100644 --- a/build-pkg/Dockerfile +++ b/build-pkg/Dockerfile @@ -7,10 +7,8 @@ FROM archlinux:base-devel # 0. DisableDownloadTimeout # 1. Fix [qt-installer-framework](https://aur.archlinux.org/pkgbase/qt-installer-framework/#comment-836177) # 2. Enable parallel downloads -# TODO: Wait until next baseimage update -# && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \ # 3. Add de-p1st mirror -# 4. Add home_ungoogled_chromium_Arch (ungoogled-chromium) mirror; see also (4) +# 4. Add home_ungoogled_chromium_Arch (ungoogled-chromium) mirror; see also (5) # 5. Add signing key of home_ungoogled_chromium_Arch mirror # 6. Enable multilib repository; see also (8) # @@ -19,6 +17,7 @@ FROM archlinux:base-devel # 9. Install 'multilib-devel' group, see https://wiki.archlinux.org/index.php/Makepkg#Build_32-bit_packages_on_a_64-bit_system RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \ printf '\n[options]\nNoExtract = !usr/share/doc/qt/*\n' >> /etc/pacman.conf && \ + sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf && \ printf '\n[de-p1st]\nSigLevel = Optional TrustAll\nServer = https://arch.p1st.de\n' >> /etc/pacman.conf && \ printf '\n[home_ungoogled_chromium_Arch]\nSigLevel = Required TrustAll\nServer = https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/$arch\n' >> /etc/pacman.conf && \ curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | pacman-key --add - && \