mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
Dockerfile: parallel downloads
This commit is contained in:
parent
6277eaa24b
commit
f729ada878
@ -7,10 +7,8 @@ FROM archlinux:base-devel
|
|||||||
# 0. DisableDownloadTimeout
|
# 0. DisableDownloadTimeout
|
||||||
# 1. Fix [qt-installer-framework](https://aur.archlinux.org/pkgbase/qt-installer-framework/#comment-836177)
|
# 1. Fix [qt-installer-framework](https://aur.archlinux.org/pkgbase/qt-installer-framework/#comment-836177)
|
||||||
# 2. Enable parallel downloads
|
# 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
|
# 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
|
# 5. Add signing key of home_ungoogled_chromium_Arch mirror
|
||||||
# 6. Enable multilib repository; see also (8)
|
# 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
|
# 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 && \
|
RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \
|
||||||
printf '\n[options]\nNoExtract = !usr/share/doc/qt/*\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[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 && \
|
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 - && \
|
curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | pacman-key --add - && \
|
||||||
|
Loading…
Reference in New Issue
Block a user