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
71b3e6558d
commit
614e4f71e2
@ -12,12 +12,6 @@ RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/reposi
|
|||||||
&& 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 coreutils bash openvpn iptables shadow boost-system boost-thread ca-certificates unrar findutils perl gawk pacman
|
&& apk add --update coreutils bash openvpn iptables shadow boost-system boost-thread ca-certificates unrar findutils perl gawk pacman
|
||||||
|
|
||||||
RUN yesterdays_date=$(date --date="-1 days ago" +%Y/%m/%d) \
|
|
||||||
&& mkdir -p /etc/pacman.d \
|
|
||||||
&& 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 \
|
|
||||||
&& pacman -S grep net-tools --noconfirm \
|
|
||||||
|
|
||||||
RUN usermod -u 99 nobody
|
RUN usermod -u 99 nobody
|
||||||
|
|
||||||
# copy patches
|
# copy patches
|
||||||
|
Loading…
Reference in New Issue
Block a user