Skip to content

Commit ce67c77

Browse files
committed
fix: actually skip numpy libs when running strip
1 parent 4573ec4 commit ce67c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/dockerfiles/Dockerfile.raster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN cd /asset && find . -type d -a -name '__pycache__' -print0 | xargs -0 rm -rf
1818
RUN cd /asset && find . -type f -a -name '*.py' -print0 | xargs -0 rm -f
1919
RUN find /asset -type d -a -name 'tests' -print0 | xargs -0 rm -rf
2020
RUN rm -rdf /asset/numpy/doc/ /asset/boto3* /asset/botocore* /asset/bin /asset/geos_license /asset/Misc
21-
RUN find /asset -type f -name '*.so*' -not -path "./numpy.libs/*" -exec strip --strip-unneeded {} \;
21+
RUN find /asset -type f -name '*.so*' -not -path "/asset/numpy.libs/*" -exec strip --strip-unneeded {} \;
2222

2323
# Ref: https://github.com/developmentseed/titiler/discussions/1108#discussioncomment-13045681
2424
RUN cp /usr/lib64/libexpat.so.1 /asset/

0 commit comments

Comments
 (0)