Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Emery Nibigira
cmssw-docker
Commits
b509ad00
Commit
b509ad00
authored
Jun 13, 2020
by
Clemens Lange
Browse files
Install base CMSSW release first in case of patch release
parent
db67fb4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
standalone/Dockerfile
View file @
b509ad00
...
...
@@ -40,7 +40,13 @@ RUN wget -O /opt/cms/bootstrap.sh http://cmsrep.cern.ch/cmssw/repos/bootstra
&&
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
\
export
BASE_VERSION
=
$(
echo
"
${
CMSSW_VERSION
}
"
|
cut
-d
'_'
-f
-4
)
;
\
else
\
export
BASE_VERSION
=
${
CMSSW_VERSION
}
;
\
fi
\
&&
/opt/cms/common/cmspkg
-a
${
SCRAM_ARCH
}
install
-y
cms+cmssw+
${
BASE_VERSION
}
\
&&
if
[[
$CMSSW_VERSION
=
*
"patch"
*
]]
;
\
then
\
/opt/cms/common/cmspkg
-a
${
SCRAM_ARCH
}
install
-y
cms+cmssw-patch+
${
CMSSW_VERSION
}
;
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment