Skip to content
Snippets Groups Projects
Commit c5188c27 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Add env vars to image and remove not needed ROOT files

parent ec762ce0
No related branches found
Tags v0.1
No related merge requests found
Pipeline #13567 passed
......@@ -18,20 +18,18 @@ RUN export PATH=/opt/cmake-3.18/bin:$PATH && \
mkdir -p obj && \
cd obj && \
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -Dpyroot=OFF -Dpyroot_experimental=OFF -Dx11=OFF -Dxft=OFF .. && \
make -j4 && \
make install
make -j4; make install && \
rm -rf /opt/root-6.20.04*
RUN cd /opt && \
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz &&\
tar -xzvf RootTuple-1.0.0.tar.gz &&\
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz && \
tar -xzvf RootTuple-1.0.0.tar.gz && \
cd RootTuple-1.0.0 && \
sed -i 's/SHARED/STATIC/g' ./src/CMakeLists.txt &&\
sed -i 's/SHARED/STATIC/g' ./src/CMakeLists.txt && \
sed -i '$d' ./CMakeLists.txt && \
mkdir build; cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. &&\
make && \
make install
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && \
make; make install
RUN cd /opt && \
wget https://gibuu.hepforge.org/downloads?f=buuinput2019.tar.gz && \
......@@ -44,5 +42,5 @@ RUN cd /opt && \
make -j withROOT=1 && \
rm -rf /opt/*.tar.gz
ENV CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
ENV CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
ENV LD_LIBRARY_PATH=/usr/local/lib
......@@ -20,7 +20,6 @@ From: debian:stretch
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -Dpyroot=OFF -Dpyroot_experimental=OFF -Dx11=OFF -Dxft=OFF .. && \
make -j4; make install
cd /opt && \
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz && \
tar xvzf RootTuple-1.0.0.tar.gz && \
......@@ -42,7 +41,8 @@ From: debian:stretch
rm -rf /opt/*.tar.gz
%environment
export CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x
export CONTAINER_GIBUU_EXEC=/opt/release2019/objects/GiBUU.x && \
export LD_LIBRARY_PATH=/usr/local/lib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment