Skip to content
This repository was archived by the owner on Feb 12, 2020. It is now read-only.

Commit 3816b37

Browse files
committed
blacklist a couple of manylinux .so from stripping
we were running into pypa/manylinux#119 here apparently, @sdrave
1 parent 688a72a commit 3816b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ONBUILD RUN git clone https://github.com/pymor/pymor /tmp/pymor && \
6969
cd src && \
7070
python -c "import pymor.core.config as cfg;import sys; sys.exit(not cfg.config.HAVE_FENICS)" && \
7171
rm -rf /tmp/pymor
72-
ONBUILD RUN /bin/bash -l -c "(find /usr -type f | xargs strip -p -d &> /dev/null ; du -sch .) || true "
72+
ONBUILD RUN /bin/bash -l -c "(find /usr \( -name '*.a*' -o -name '*.so*' \) -type f | grep -v _imaging | grep -v libtiff | xargs strip -p --strip-unneeded -d &> /dev/null ; du -sch .) || true "
7373
ADD entrypoint.sh /usr/local/bin/
7474
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
7575
CMD ["./.travis.script.bash"]

0 commit comments

Comments
 (0)