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
Commits
2444675d
Commit
2444675d
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Explicitly added custom spack packages to repo
parent
f8535a97
No related branches found
No related tags found
1 merge request
!16
New feature version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
containers/builder/Dockerfile
+4
-21
4 additions, 21 deletions
containers/builder/Dockerfile
spack
+1
-0
1 addition, 0 deletions
spack
with
5 additions
and
21 deletions
containers/builder/Dockerfile
+
4
−
21
View file @
2444675d
...
...
@@ -28,12 +28,12 @@ RUN apt-get -yqq update \
COPY
spack.yaml /opt/spack-environment/spack.yaml
## Ensure an up-to-date custom package list
## TODO: We should just remove this from the upstream container
## and only initialize the custom packages here for more
## transparency
RUN
rm
-rf
$SPACK_ROOT
/np-spack
\
&&
git clone https://eicweb.phy.anl.gov/EIC/np-
spack
.git
$SPACK_ROOT
/np-spack
\
&&
cp
-r
../../
spack
$SPACK_ROOT
/np-spack
&& cd $SPACK_ROOT/np-spack \
&&
git checkout v
$(
spack
--version
)
\
&&
cd
-
\
&&
echo
"DISABLED: rm -rf
$SPACK_ROOT
/np-spack/.git"
\
&& echo "repos:" > $SPACK_ROOT/etc/spack/repos.yaml \
&& echo " - $SPACK_ROOT/np-spack" >> $SPACK_ROOT/etc/spack/repos.yaml
...
...
@@ -51,23 +51,6 @@ RUN cd /opt/spack-environment && spack env activate . \
--no-cache-dir
\
ipython matplotlib scipy yapf
## --> disabled for now as we are changing them by the hour
## Build elements prone to change here, to allow us to rebuild
## from runner cache efficiently
#RUN cd /opt/spack-environment \
#&& spack env activate . \
#&& spack add npdet@master \
#&& spack add eicd@master \
#&& spack install \
#&& spack clean -a
## Strip the binaries/DISABLED for builder, do this for release step
#RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \
# xargs file -i | \
# grep 'charset=binary' | \
# grep 'x-executable\|x-archive\|x-sharedlib' | \
# awk -F: '{print $1}' | xargs strip -s
# Modifications to the environment that are necessary to run
# Also make sure we keep the /lib/x86_65-linux-gnu in our PATH
RUN
cd
/opt/spack-environment
\
...
...
This diff is collapsed.
Click to expand it.
spack
@
833ec2b9
Subproject commit 833ec2b9997e0c09a40b52aae1861adf4c0f742b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment