Skip to content

Commit

Permalink
Don't strip the binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed Dec 17, 2024
1 parent 4c0e8eb commit f36aec0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ ONBUILD RUN spack env activate /opt/spack-environment; \

ONBUILD RUN if [ -n "${MIRROR_URL}" ]; then spack mirror rm build_s3; fi
# Strip all the binaries
ONBUILD RUN find -L /opt/view/* -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
# ONBUILD RUN find -L /opt/view/* -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
ONBUILD RUN cd /opt/spack-environment && \
Expand Down

0 comments on commit f36aec0

Please sign in to comment.