Skip to content

Commit 9deb1e5

Browse files
Strip unneeded, cleaned up dockerfile
1 parent d90bf47 commit 9deb1e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ RUN find ./python/lib/$runtime/site-packages/ddtrace -name \*.pyx -delete
7777
# reduce the size when ddtrace is built from sources. The release wheels are
7878
# already stripped of debug symbols. We should revisit this when serverless
7979
# benchmark uses pre-built wheels instead of building from sources.
80-
RUN find ./python/lib/$runtime/site-packages -name "*.so" -exec strip -x {} \;
81-
# RUN find ./python/lib/$runtime/site-packages/ddtrace -name "*.so" -exec strip -g {} \;
80+
RUN find ./python/lib/$runtime/site-packages -name "*.so" -exec strip --strip-unneeded {} \;
8281

8382
FROM scratch
8483
COPY --from=builder /build/python /

0 commit comments

Comments
 (0)