From e66e07c0530455873837e2972ee30583fbf2c6a0 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Mon, 12 Feb 2018 00:46:13 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa9df2c..3156f7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,13 @@ VOLUME /config 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 \ && 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) - && 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 - && rm -rf /etc/pacman.d/gnupg/ /root/.gnupg/ || true - && gpg --refresh-keys - && pacman-key --init && pacman-key --populate archlinux - && pacman -S grep net-tools --noconfirm + && yesterdays_date=$(date -d "yesterday" +%Y/%m/%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 \ + && rm -rf /etc/pacman.d/gnupg/ /root/.gnupg/ || true \ + && gpg --refresh-keys \ + && pacman-key --init && pacman-key --populate archlinux \ + && pacman -S grep net-tools --noconfirm \ RUN usermod -u 99 nobody