mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update Dockerfile
This commit is contained in:
parent
e66e07c053
commit
86fb15cb64
@ -11,7 +11,7 @@ VOLUME /config
|
|||||||
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories \
|
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories \
|
||||||
&& echo "http://dl-4.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
&& echo "http://dl-4.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
||||||
&& apk add --update bash openvpn iptables shadow boost-system boost-thread ca-certificates unrar findutils perl gawk pacman \
|
&& apk add --update bash openvpn iptables shadow boost-system boost-thread ca-certificates unrar findutils perl gawk pacman \
|
||||||
&& yesterdays_date=$(date -d "yesterday" +%Y/%m/%d) \
|
&& yesterdays_date=$(date --date="-1 days ago" +%Y/%m/%d) \
|
||||||
&& echo 'Server = https://archive.archlinux.org/repos/'"${yesterdays_date}"'/$repo/os/$arch' > /etc/pacman.d/mirrorlist \
|
&& echo 'Server = https://archive.archlinux.org/repos/'"${yesterdays_date}"'/$repo/os/$arch' > /etc/pacman.d/mirrorlist \
|
||||||
&& echo 'Server = http://archive.virtapi.org/repos/'"${yesterdays_date}"'/$repo/os/$arch' >> /etc/pacman.d/mirrorlist \
|
&& echo 'Server = http://archive.virtapi.org/repos/'"${yesterdays_date}"'/$repo/os/$arch' >> /etc/pacman.d/mirrorlist \
|
||||||
&& rm -rf /etc/pacman.d/gnupg/ /root/.gnupg/ || true \
|
&& rm -rf /etc/pacman.d/gnupg/ /root/.gnupg/ || true \
|
||||||
|
Loading…
Reference in New Issue
Block a user