Dockerfile 1.16 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM  eicweb.phy.anl.gov:4567/containers/eic_container/eic:latest

LABEL maintainer="Whitney Armstrong <warmstrong@anl.gov>" \
      name="juggler" \
      group="EIC/juggler" \
      march="native" \
      basedist="debian" \
      base="eic_container/eic" \
      version="2.2.2"

RUN cd /tmp             \
      && git clone  https://eicweb.phy.anl.gov/EIC/NPDet.git \
      && mkdir -p NPDet/build && cd NPDet/build \
Whitney Armstrong's avatar
Whitney Armstrong committed
14
      && cmake ../. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr/local \
15
16
17
18
19
20
      && make -j30  && make -j4 install \
      && cd /tmp && rm -rf /tmp/NPDet 

RUN cd /tmp             \
      && git clone  https://eicweb.phy.anl.gov/EIC/eicd.git \
      && mkdir -p eicd/build && cd eicd/build \
Whitney Armstrong's avatar
Whitney Armstrong committed
21
      && cmake ../. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr/local \
22
23
24
25
26
27
      && make -j30  && make -j4 install \
      && cd /tmp && rm -rf /tmp/eicd 

RUN cd /tmp             \
      && git clone  https://eicweb.phy.anl.gov/EIC/juggler.git \
      && mkdir -p juggler/build && cd juggler/build \
Whitney Armstrong's avatar
Whitney Armstrong committed
28
      && cmake ../. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr/local \
29
30
31
      && make -j30  && make -j4 install \
      && cd /tmp && rm -rf /tmp/juggler