diff --git a/tp_herwig/Dockerfile b/tp_herwig/Dockerfile old mode 100755 new mode 100644 index 2c51d604edef0063d1751f35680f4f30598cd0eb..e3b828b5b2a550badec8e688da909aff3a00ce71 --- a/tp_herwig/Dockerfile +++ b/tp_herwig/Dockerfile @@ -1,14 +1,7 @@ -from jeppelt/etp_tp:latest +FROM hepstore/rivet-herwig:latest as herwig +WORKDIR /herwig -USER root +FROM jeppelt/etp_basis:latest +COPY --from=herwig /herwig . -ENV HERWIGPATH=/opt/herwig -RUN wget https://herwig.hepforge.org/downloads/herwig-bootstrap && \ - mkdir -p $HERWIGPATH && \ - chmod +x herwig-bootstrap && \ - ./herwig-bootstrap -j4 $HERWIGPATH && \ - rm herwig-bootstrap && \ - source ${HERWIGPATH}/bin/activate - -USER $NB_USER \ No newline at end of file