From b7b0a742b1c83387455e842a95e3be56f09dea26 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Mon, 8 Jun 2020 12:16:10 -0500
Subject: [PATCH] 	modified:   containers/docker/Dockerfile

---
 containers/docker/Dockerfile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/containers/docker/Dockerfile b/containers/docker/Dockerfile
index 51b0a8c7b..90698999e 100644
--- a/containers/docker/Dockerfile
+++ b/containers/docker/Dockerfile
@@ -35,6 +35,21 @@ RUN cd /tmp \
       && make install  \
       && cd /tmp && rm -rf /tmp/pythia8244
 
+RUN apt-get update && apt-get remove -y libtbb-dev libtbb2   \
+      && cd /tmp \
+      && git clone https://eicweb.phy.anl.gov/eic_tools/DD4hep.git \
+      && source /usr/local/bin/thisroot.sh \
+      && source /usr/local/bin/geant4.sh \
+      && mkdir -p DD4hep/build && cd DD4hep/build \
+      && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local  \
+                    -DCMAKE_CXX_STANDARD=17  \
+                    -DDD4HEP_USE_GEANT4=ON \
+                    -DDD4HEP_USE_HEPMC3=ON \
+      && make -j30  && make -j4 install \
+      && cd /tmp && rm -rf /tmp/DD4hep  \
+      && apt-get update && apt-get install -y libtbb-dev libtbb2  \
+      && apt-get clean -y 
+ 
 
 
 RUN cd /tmp \
-- 
GitLab