From ecd81ee135f6339ec9e72676360f3a31c09da0da Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wouter.deconinck@umanitoba.ca>
Date: Sun, 1 Aug 2021 19:11:33 +0000
Subject: [PATCH] Install in-container and out-of-container full simulation
 campaigns scripts

---
 containers/jug/xl.Dockerfile | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index 9aa7343ed..165496e47 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -97,3 +97,21 @@ RUN mkdir -p /opt/benchmarks
         https://eicweb.phy.anl.gov/EIC/benchmarks/reconstruction_benchmarks.git \
  && git clone -b ${BENCHMARK_PHY_VERSION} --depth 1                             \
         https://eicweb.phy.anl.gov/EIC/benchmarks/physics_benchmarks.git
+
+## Install campaigns into the container
+
+ARG CAMPAIGNS_SINGLE_VERSION="main"
+ARG CAMPAIGNS_HEPMC3_VERSION="main"
+ARG CAMPAIGNS_CONDOR_VERSION="main"
+ARG CAMPAIGNS_SLURM_VERSION="main"
+
+RUN mkdir -p /opt/campaigns                                                     \
+ && cd /opt/campaigns                                                           \
+ && git clone -b ${CAMPAIGNS_SINGLE_VERSION} --depth 1                          \
+        https://eicweb.phy.anl.gov/EIC/campaigns/single.git                     \
+ && git clone -b ${CAMPAIGNS_HEPMC3_VERSION} --depth 1                          \
+        https://eicweb.phy.anl.gov/EIC/campaigns/hepmc3.git                     \
+ && git clone -b ${CAMPAIGNS_CONDOR_VERSION} --depth 1                          \
+        https://eicweb.phy.anl.gov/EIC/campaigns/condor.git                     \
+ && git clone -b ${CAMPAIGNS_SLURM_VERSION} --depth 1                           \
+        https://eicweb.phy.anl.gov/EIC/campaigns/slurm.git
-- 
GitLab