Commit db8b2229 authored by Clemens Lange's avatar Clemens Lange
Browse files

Merge branch 'slc5-cms-common' into 'master'

slc5 cms-common

Closes #36

See merge request cms-cloud/cmssw-docker!42
parents e574fd93 99576ebc
......@@ -53,6 +53,18 @@ RUN wget -O /opt/cms/bootstrap.sh http://cmsrep.cern.ch/cmssw/repos/bootstra
fi \
&& /opt/cms/common/cmspkg -a ${SCRAM_ARCH} clean
RUN if [[ $SCRAM_ARCH = "slc5"* ]]; \
then \
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:${LD_LIBRARY_PATH} \
git clone https://github.com/cms-sw/cms-common.git \
&& sed -i -e 's|@CMS_PREFIX@|/opt/cms|g;s|@SCRAM_ARCH@|'"$SCRAM_ARCH"'|' \
cms-common/cmsset_default.* \
&& cp -f cms-common/cmsset_default.sh /opt/cms/ \
&& cp -f cms-common/cmsset_default.csh /opt/cms/ \
&& rm -rf cms-common; \
fi
USER root
RUN /bin/cp -f /opt/cms/cmsset_default.sh /etc/profile.d/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment