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
2f43c1ea
Commit
2f43c1ea
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix: oneapi dev based on eic-spack
parent
884efafe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/oneapi/onedev.Dockerfile
+14
-8
14 additions, 8 deletions
containers/oneapi/onedev.Dockerfile
with
14 additions
and
8 deletions
containers/oneapi/onedev.Dockerfile
+
14
−
8
View file @
2f43c1ea
...
...
@@ -88,14 +88,20 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \
ARG
CACHE_BUST="hash"
ARG
CACHE_NUKE=""
## Setup our custom environment and package overrides
COPY
spack $SPACK_ROOT/eic-spack
RUN
spack repo add
--scope
site
"
$SPACK_ROOT
/eic-spack"
\
&&
mkdir
/opt/spack-environment
\
&&
cd
/opt/spack-environment
\
&&
mv
$SPACK_ROOT
/eic-spack/spack.yaml
.
\
&&
rm
-r
/usr/local
\
&&
spack
env
activate
.
\
## Setup our custom package overrides
ENV
EICSPACK_ROOT=$SPACK_ROOT/var/spack/repos/eic-spack
ARG
EICSPACK_VERSION="$SPACK_VERSION"
RUN
git clone https://github.com/eic/eic-spack.git
${
EICSPACK_ROOT
}
\
&&
git
-C
${
EICSPACK_ROOT
}
checkout
${
EICSPACK_VERSION
}
\
&&
if
[
-n
"
${
EICSPACK_CHERRYPICKS
}
"
]
;
then
\
git
-C
${
EICSPACK_ROOT
}
cherry-pick
-n
${
EICSPACK_CHERRYPICKS
}
;
\
fi
\
&&
spack repo add
--scope
site
"
${
EICSPACK_ROOT
}
"
## Setup our custom environment
COPY
spack.yaml /opt/spack-environment/
RUN
rm
-r
/usr/local
\
&&
spack
env
activate /opt/spack-environment/
\
&&
spack concretize
...
...
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