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

Re-add old siteconf installation for SLC5

parent c77d4567
......@@ -30,13 +30,21 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
USER cmsinst
WORKDIR /opt/cms
RUN wget -q https://github.com/cms-sw/siteconf/archive/master.tar.gz \
&& tar -xzf master.tar.gz \
&& mv siteconf-master SITECONF \
&& wget -O /opt/cms/bootstrap.sh http://cmsrep.cern.ch/cmssw/repos/bootstrap.sh \
RUN wget -O /opt/cms/bootstrap.sh http://cmsrep.cern.ch/cmssw/repos/bootstrap.sh \
&& sh /opt/cms/bootstrap.sh setup -r cms -architecture ${SCRAM_ARCH} -server cmsrep.cern.ch \
&& if [[ $SCRAM_ARCH = "slc5"* ]]; \
then \
/opt/cms/common/cmspkg -a ${SCRAM_ARCH} install -y cms+local-cern-siteconf+sm111124; \
else \
wget -q https://github.com/cms-sw/siteconf/archive/master.tar.gz \
&& tar -xzf master.tar.gz \
&& mv siteconf-master SITECONF; \
fi \
&& /opt/cms/common/cmspkg -a ${SCRAM_ARCH} install -y cms+cmssw+${CMSSW_VERSION%_p*} \
&& if [[ $CMSSW_VERSION = *"patch"* ]]; then /opt/cms/common/cmspkg -a ${SCRAM_ARCH} install -y cms+cmssw-patch+${CMSSW_VERSION}; fi \
&& if [[ $CMSSW_VERSION = *"patch"* ]]; \
then \
/opt/cms/common/cmspkg -a ${SCRAM_ARCH} install -y cms+cmssw-patch+${CMSSW_VERSION}; \
fi \
&& /opt/cms/common/cmspkg -a ${SCRAM_ARCH} clean
USER root
......
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