From de1dd1cbdeb3f1a01b2cb34a63a676abfa9351ca Mon Sep 17 00:00:00 2001 From: Chizi123 <joelgrun@gmail.com> Date: Wed, 12 Jun 2019 04:45:53 +0000 Subject: [PATCH] added updating --- Dockerfile | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1e2a2a..811cf69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN /usr/bin/chmod -v 1777 /tmp #Update and install software -RUN /usr/bin/pacman -Syu --noconfirm base-devel git sudo go && \ +RUN /usr/bin/pacman -Syu --noconfirm base-devel git sudo go rsync && \ /usr/sbin/pacman -Scc --noconfirm && \ /usr/sbin/echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers @@ -14,11 +14,6 @@ /usr/sbin/useradd -m --groups sudo user USER user -# install yay -RUN cd /tmp && \ - /usr/bin/git clone https://aur.archlinux.org/yay.git && \ - cd yay && \ - /usr/sbin/makepkg && \ - /usr/sbin/sudo /usr/bin/pacman -U yay*pkg*.tar.xz --noconfirm && \ - cd / && \ - rm -r /tmp/yay +RUN cd repo && \ + for i in `find . -maxdepth 1 -not -path '*/\.*' -type d` +do -- Gitblit v1.9.3