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 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 65f4926..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
@@ -13,3 +13,7 @@
RUN /usr/sbin/groupadd --system sudo && \
/usr/sbin/useradd -m --groups sudo user
USER user
+
+RUN cd repo && \
+ for i in `find . -maxdepth 1 -not -path '*/\.*' -type d`
+do
--
Gitblit v1.10.0