From f51f26aaf97d4ffbd0f91bf1d62168ae11d5dbd1 Mon Sep 17 00:00:00 2001
From: Konstantinos Samaras-Tsakiris <konstantinos.samaras-tsakiris@cern.ch>
Date: Sat, 17 Jul 2021 05:44:03 +0000
Subject: [PATCH] improve image build time

---
 Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index cc8bb79..d8e27c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,6 @@ LABEL maintainer="Drupal Admins <drupal-admins@cern.ch>"
 
 ARG restic_version=0.12.0
 
-COPY ./tekton-task-templates /tekton-task-templates
-
-COPY ./velero-restic-restore/restore_pvs.sh /scripts/restore_pvs.sh
-
 RUN yum install epel-release -y && \
     # install restic
     yum install yum-plugin-copr -y && \
@@ -18,4 +14,7 @@ RUN yum install epel-release -y && \
     yum install -y /usr/bin/openstack --disableplugin=protectbase && \
     yum clean all
 
+COPY ./tekton-task-templates /tekton-task-templates
+COPY ./velero-restic-restore/restore_pvs.sh /scripts/restore_pvs.sh
+
 CMD ["/usr/local/bin/oc"]
-- 
GitLab