Skip to content
Snippets Groups Projects
Commit ed85b8d0 authored by Vladimir Kulikovskiy's avatar Vladimir Kulikovskiy
Browse files

Update genie-hedis:km3net

parent d52fcf68
No related branches found
No related tags found
No related merge requests found
......@@ -8,14 +8,24 @@ FROM docker.km3net.de/base/centos:7
RUN yum install -y fftw-devel libgpg-error libproxy openssh-server && yum clean -y all
RUN yum install -y gtk2-devel libX11 libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
RUN yum install -y centos-release-scl
RUN yum install -y rh-python36
RUN echo 'export LD_LIBRARY_PATH=/opt/rh/rh-python36/root/usr/lib64:$LD_LIBRARY_PATH' >> /etc/profile.d/python36.sh
RUN echo "export X_SCLS=rh-python36" >> /etc/profile.d/python36.sh
RUN echo 'export PATH=/opt/rh/rh-python36/root/usr/bin:$PATH' >> /etc/profile.d/python36.sh
RUN echo 'export XDG_DATA_DIRS=/opt/rh/rh-python36/root/usr/share:/usr/local/share:/usr/share' >> /etc/profile.d/python36.sh
RUN echo 'export PKG_CONFIG_PATH=/opt/rh/rh-python36/root/usr/lib64/pkgconfig' >> /etc/profile.d/python36.sh
RUN source /etc/profile.d/python36.sh && pip install -U pip setuptools
RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN rpm -ivh epel-release-latest-7.noarch.rpm
RUN yum install -y cmake3
RUN rm -rf epel-release-latest-7.noarch.rpm
RUN yum install -y log4cpp log4cpp-devel libxml2 libxml2-devel gsl gsl-devel
#lhapdf
RUN cd / && curl -L https://lhapdf.hepforge.org/downloads/\?f\=lhapdf-5.9.1.tar.gz > lhapdf-5.9.1.tar.gz && \
RUN soure /etc/profile.d/python36.sh && cd / && curl -L https://lhapdf.hepforge.org/downloads/\?f\=lhapdf-5.9.1.tar.gz > lhapdf-5.9.1.tar.gz && \
tar xzvf lhapdf-5.9.1.tar.gz && cd lhapdf-5.9.1 && \
./configure --prefix=/usr/local && make && make install
......
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