Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!823
chore: pythia8-8.310
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
chore: pythia8-8.310
pythia8-8.310
into
master
Overview
0
Commits
7
Pipelines
0
Changes
3
Merged
Wouter Deconinck
requested to merge
pythia8-8.310
into
master
1 year ago
Overview
0
Commits
7
Pipelines
0
Changes
3
Expand
needs
!824 (merged)
Edited
1 year ago
by
Wouter Deconinck
0
0
Merge request reports
Compare
version 2
version 6
0e79b62a
1 year ago
version 5
7d1d4ffa
1 year ago
version 4
dff0b878
1 year ago
version 3
9b364025
1 year ago
version 2
fc8c2717
1 year ago
version 1
177235a2
1 year ago
master (base)
and
latest version
latest version
dfd179b0
7 commits,
1 year ago
version 6
0e79b62a
6 commits,
1 year ago
version 5
7d1d4ffa
5 commits,
1 year ago
version 4
dff0b878
4 commits,
1 year ago
version 3
9b364025
3 commits,
1 year ago
version 2
fc8c2717
2 commits,
1 year ago
version 1
177235a2
1 commit,
1 year ago
Show latest version
3 files
+
20
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
containers/jug/dev.Dockerfile
+
12
−
1
Options
@@ -33,14 +33,25 @@ ENV SPACK_ROOT=/opt/spack
ARG
SPACK_ORGREPO="spack/spack"
ARG
SPACK_VERSION="releases/v0.20"
ARG
SPACK_CHERRYPICKS=""
ARG
SPACK_CHERRYPICKS_FILES=""
ADD
https://api.github.com/repos/${SPACK_ORGREPO}/commits/${SPACK_VERSION} /tmp/spack.json
RUN
<<
EOF
git config --global user.email "gitlab@eicweb.phy.anl.gov"
git config --global user.name "EIC Container Build Service"
git config --global advice.detachedHead false
git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT}
git -C ${SPACK_ROOT} checkout ${SPACK_VERSION}
if [ -n "${SPACK_CHERRYPICKS}" ] ; then
SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) "${SPACK_CHERRYPICKS}" | tac)
git -C ${SPACK_ROOT} cherry-pick -n ${SPACK_CHERRYPICKS}
eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})"
for hash in ${SPACK_CHERRYPICKS} ; do
if [ -n "${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]+found}" ] ; then
git -C ${SPACK_ROOT} show ${hash} -- ${SPACK_CHERRYPICKS_FILES_ARRAY[${hash}]//,/ } | patch -p1 -d ${SPACK_ROOT}
git -C ${SPACK_ROOT} commit --all --message "$(git -C ${SPACK_ROOT} show --no-patch --pretty=format:%s ${hash})"
else
git -C ${SPACK_ROOT} cherry-pick ${hash}
fi
done
fi
ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash /usr/bin/docker-shell
ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash /usr/bin/interactive-shell
Loading