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
2d081611
Commit
2d081611
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix: exclude static archives from strip
parent
c05f2eb4
No related branches found
No related tags found
1 merge request
!326
fix: exclude static archives from strip
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/jug/dev.Dockerfile
+7
-4
7 additions, 4 deletions
containers/jug/dev.Dockerfile
with
7 additions
and
4 deletions
containers/jug/dev.Dockerfile
+
7
−
4
View file @
2d081611
...
@@ -176,12 +176,15 @@ RUN cd /opt/spack-environment && spack env activate . && spack gc -y
...
@@ -176,12 +176,15 @@ RUN cd /opt/spack-environment && spack env activate . && spack gc -y
# 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 it 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
\
-type
f
-not
-name
"zdll.lib"
-not
-name
libtensorflow-lite.a
\
-o
\
-exec
realpath
'{}'
\;
\
-type
d
-name
lib-dynload
-prune
-false
\
-o
\
-type
f
\
-exec
realpath
'{}'
\;
\
| xargs file
-i
\
| xargs file
-i
\
|
grep
'charset=binary'
\
|
grep
'charset=binary'
\
|
grep
'x-executable\|x-
archive\|x-sharedlib'
\
|
grep
'x-executable\|x-
sharedlib'
\
|
awk
-F
:
'{print $1}'
| xargs strip
-s
|
awk
-F
:
'{print $1}'
| xargs strip
-s
## Bugfix to address issues loading the Qt5 libraries on Linux kernels prior to 3.15
## Bugfix to address issues loading the Qt5 libraries on Linux kernels prior to 3.15
...
...
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