mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
Dockerfile: Disable pacman download timeout
This commit is contained in:
parent
6617e4ccf0
commit
aae05dfc1a
@ -25,7 +25,7 @@ To update all submodules, run
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# If no local changes were done
|
# If no local changes were done
|
||||||
git submodule update --remote | grep 'Submodule path'
|
$(set -o pipefail; git submodule update --remote | {grep 'Submodule path' || echo 'Everything up to date.' })
|
||||||
|
|
||||||
# Otherwise
|
# Otherwise
|
||||||
git submodule foreach 'git pull'
|
git submodule foreach 'git pull'
|
||||||
|
@ -4,12 +4,14 @@
|
|||||||
|
|
||||||
FROM archlinux:base-devel
|
FROM archlinux:base-devel
|
||||||
|
|
||||||
|
# 0. DisableDownloadTimeout
|
||||||
# 1. Add de-p1st mirror
|
# 1. Add de-p1st mirror
|
||||||
# 2. Enable parallel downloads
|
# 2. 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
|
# 3. Update mirrors + packages
|
||||||
RUN printf '\n[de-p1st]\nSigLevel = Optional TrustAll\nServer = https://arch.p1st.de\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 && \
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
|
||||||
# 1. Set packager
|
# 1. Set packager
|
||||||
|
Loading…
Reference in New Issue
Block a user