From 060502073cb8129768414be5fe8d9ddf6a1e2a06 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Mon, 12 Feb 2018 01:15:58 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index e621ff7..2b971a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,13 @@ 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 \ && 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-db-upgrade + && pacman -S grep net-tools --noconfirm \ + RUN usermod -u 99 nobody # copy patches