From 48a8a89efe7ebcf280d62e4c221e7362c82c42e7 Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Mon, 10 Jun 2019 10:56:38 +0000
Subject: [PATCH] Working with a chroot environment

---
 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