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
61b8bbee
Commit
61b8bbee
authored
2 years ago
by
Ujwal Kundur
Committed by
Wouter Deconinck
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix 4
Closes Issue
#110
parent
65ed180c
Branches
Branches containing commit
No related tags found
1 merge request
!309
Repo Cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/jug/dev.Dockerfile
+3
-3
3 additions, 3 deletions
containers/jug/dev.Dockerfile
with
3 additions
and
3 deletions
containers/jug/dev.Dockerfile
+
3
−
3
View file @
61b8bbee
...
@@ -8,7 +8,7 @@ ARG INTERNAL_TAG="testing"
...
@@ -8,7 +8,7 @@ ARG INTERNAL_TAG="testing"
## ========================================================================================
## ========================================================================================
FROM
${DOCKER_REGISTRY}debian_base:${INTERNAL_TAG}
as
builder
FROM
${DOCKER_REGISTRY}debian_base:${INTERNAL_TAG}
as
builder
## instal some extra spack dependencies
## instal
l
some extra spack dependencies
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt
\
RUN
--mount
=
type
=
cache,target
=
/var/cache/apt
\
rm
-f
/etc/apt/apt.conf.d/docker-clean
\
rm
-f
/etc/apt/apt.conf.d/docker-clean
\
&&
apt-get
-yqq
update
\
&&
apt-get
-yqq
update
\
...
@@ -32,7 +32,7 @@ RUN echo "Part 1: regular spack install (as in containerize)" \
...
@@ -32,7 +32,7 @@ RUN echo "Part 1: regular spack install (as in containerize)" \
git cherry-pick
-n
$SPACK_CHERRYPICKS
;
\
git cherry-pick
-n
$SPACK_CHERRYPICKS
;
\
fi
\
fi
\
&&
cd
-
\
&&
cd
-
\
&&
mkdir
-p
$SPACK_ROOT
/opt/spack
\
&&
mkdir
-p
$SPACK_ROOT
\
&&
cp
-r
/tmp/spack-staging/bin
$SPACK_ROOT
/bin
\
&&
cp
-r
/tmp/spack-staging/bin
$SPACK_ROOT
/bin
\
&&
cp
-r
/tmp/spack-staging/etc
$SPACK_ROOT
/etc
\
&&
cp
-r
/tmp/spack-staging/etc
$SPACK_ROOT
/etc
\
&&
cp
-r
/tmp/spack-staging/lib
$SPACK_ROOT
/lib
\
&&
cp
-r
/tmp/spack-staging/lib
$SPACK_ROOT
/lib
\
...
@@ -171,7 +171,7 @@ FROM builder as staging
...
@@ -171,7 +171,7 @@ FROM builder as staging
RUN
cd
/opt/spack-environment
&&
spack
env
activate
.
&&
spack gc
-y
RUN
cd
/opt/spack-environment
&&
spack
env
activate
.
&&
spack gc
-y
# Strip all the binaries
# Strip all the binaries
# This reduces the image by factor of x2, so worth the effort
# This reduces the image by factor of x2, so worth the effort
# note that we do not strip python libraries as can cause issues in some cases
# note that we do not strip python libraries as
it
can cause issues in some cases
RUN
find
-L
/usr/local/
*
\
RUN
find
-L
/usr/local/
*
\
-type
d
-name
site-packages
-prune
-false
-o
\
-type
d
-name
site-packages
-prune
-false
-o
\
-type
f
-not
-name
"zdll.lib"
-not
-name
libtensorflow-lite.a
\
-type
f
-not
-name
"zdll.lib"
-not
-name
libtensorflow-lite.a
\
...
...
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