FROM  eicweb.phy.anl.gov:4567/containers/eic_container/jug_dev:testing

LABEL maintainer="Whitney Armstrong <warmstrong@anl.gov>" \
      name="npdet" \
      group="EIC/NPDet" \
      march="native" \
      basedist="ubuntu" \
      base="eic_container" \
      version="0.2"

RUN cd /tmp             \
      && git clone  https://eicweb.phy.anl.gov/EIC/NPDet.git \
      && mkdir -p NPDet/build && cd NPDet/build \
      && cmake ../. -DCMAKE_CXX_STANDARD=17 \
      && make -j30  && make -j4 install \
      && cd /tmp && rm -rf /tmp/NPDet 
