diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile index 2bbdc5d7175a43c67098c2a477c34a501cd52970..1ea5ae95da7b40f12b45bd7a0803b58296314104 100644 --- a/containers/jug/dev.Dockerfile +++ b/containers/jug/dev.Dockerfile @@ -181,23 +181,6 @@ FROM builder as staging # Garbage collect in environment RUN cd /opt/spack-environment && spack env activate . && spack gc -y -# Strip all the binaries -# 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 -RUN du -sh /opt/software/linux-*/gcc-*/* | sort -h \ - && find -L /opt/software/* \ - -type d -name site-packages -prune -false \ - -o \ - -type d -name lib-dynload -prune -false \ - -o \ - -type f \ - -exec realpath '{}' \; \ - | xargs file -i \ - | grep 'charset=binary' \ - | grep 'x-executable\|x-sharedlib' \ - | awk -F: '{print $1}' | xargs strip -s \ - && du -sh /opt/software/linux-*/gcc-*/* | sort -h - ## Bugfix to address issues loading the Qt5 libraries on Linux kernels prior to 3.15 ## See #https://askubuntu.com/questions/1034313/ubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir