Skip to content
Snippets Groups Projects
Commit 983ac450 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Merge in fix from v2.9

parents 0d224b74 04720f15
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,10 @@ RUN cd /opt/spack-environment && spack env activate . && spack gc -y ...@@ -6,7 +6,10 @@ RUN cd /opt/spack-environment && spack env activate . && spack gc -y
# Strip all the binaries # Strip all the binaries
# This reduces the image size from 3.2GB --> 1.7GB so worth the time # This reduces the image size from 3.2GB --> 1.7GB so worth the time
RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \ RUN find -L /usr/local/* \
-type d -name site-packages -prune -false -o \
-type f -not -name "zdll.lib" \
-exec readlink -f '{}' \; | \
xargs file -i | \ xargs file -i | \
grep 'charset=binary' | \ grep 'charset=binary' | \
grep 'x-executable\|x-archive\|x-sharedlib' | \ grep 'x-executable\|x-archive\|x-sharedlib' | \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment