update Dockerfile

This commit is contained in:
Daniel Langbein 2021-09-10 12:16:36 +02:00
parent efcb2c4473
commit 91501cbb12

View File

@ -6,13 +6,17 @@ FROM archlinux:base-devel
# 0. DisableDownloadTimeout # 0. DisableDownloadTimeout
# 1. Add de-p1st mirror # 1. Add de-p1st mirror
# 2. Enable parallel downloads # 2. Add home_ungoogled_chromium_Arch (ungoogled-chromium) mirror
# 3. Add signing key of home_ungoogled_chromium_Arch mirror
# 4. Enable parallel downloads
# TODO: Wait until next baseimage update # TODO: Wait until next baseimage update
# && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \ # && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \
# 3. Update mirrors + packages # 5. Update mirrors + packages
# 4. Install svn for makepkg to handle svn sources # 6. Install svn for makepkg to handle svn sources
RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \ RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /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 && \
curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | pacman-key --add - && \
pacman -Syu --noconfirm && \ pacman -Syu --noconfirm && \
pacman -S --needed --noconfirm svn pacman -S --needed --noconfirm svn