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

Update genie-root5:3.0.2

parent 31fdeea5
No related branches found
No related tags found
No related merge requests found
FROM docker.km3net.de/base/centos-full:7
FROM centos:7.4.1708
MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
RUN yum install -y man sed cygpath grep test && yum clean -y all
RUN yum install -y csh git subversion tar vim wget lftp zsh && yum clean -y all
RUN yum install -y ant bison compat-gcc-34-g77 flex flex-devel gcc gcc-c++ gcc-gfortran gdb glibc-static make pakchois cmake boost-devel rpmdevtools strace && yum clean -y all
RUN yum install -y bzip2-devel gzip && yum clean -y all
RUN yum install -y fftw-devel libgpg-error libproxy openssh-server openssl-devel && 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 epel-release && yum clean -y all
RUN yum install -y python-devel python-pip && yum clean -y all
RUN yum install -y librabbitmq-devel && yum clean -y all
RUN yum install -y doxygen ghostscript && yum clean -y all
RUN curl -L http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.8-x86_64-cc7-gcc48-opt.tgz > clhep.tgz && tar -C /usr/local/ --strip-components=1 -xvzf clhep.tgz
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 && \
......@@ -31,8 +44,8 @@ FROM docker.km3net.de/base/centos-full:7
RUN cd / && mkdir genie && cd genie && git clone https://github.com/GENIE-MC/Generator.git genie_generator && \
cd genie_generator && git checkout R-3_00_02 && \
echo "export GENIE=/genie/genie_generator" >> /etc/profile.d/genie.sh && \
echo "export PATH=$PATH:$GENIE/bin" >> /etc/profile.d/genie.sh && \
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GENIE/lib" >> /etc/profile.d/genie.sh && \
echo 'export PATH=$PATH:$GENIE/bin' >> /etc/profile.d/genie.sh && \
echo 'if [ -z "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH=$GENIE/lib; else LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GENIE/lib; fi' >> /etc/profile.d/genie.sh && \
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && cd $GENIE && \
./configure && make && make install
#GENIE REWEIGHT
......@@ -42,3 +55,9 @@ FROM docker.km3net.de/base/centos-full:7
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && cd /genie/genie_reweight \
./configure && make && make install
RUN echo "/usr/sbin/sshd" >> /etc/bashrc
RUN /usr/bin/ssh-keygen -A
RUN ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa -q
RUN cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
RUN ssh-keyscan -H -t rsa localhost,$(hostname -i) >> ~/.ssh/known_hosts
RUN chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
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