File tree Expand file tree Collapse file tree 10 files changed +10
-0
lines changed Expand file tree Collapse file tree 10 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ RUN set -ex \
7878# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7979# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8080 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81+ LDFLAGS="-Wl,--strip-all" \
8182# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8283 PROFILE_TASK='-m test.regrtest --pgo \
8384 test_array \
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ RUN set -ex \
7878# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7979# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8080 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
81+ LDFLAGS="-Wl,--strip-all" \
8182# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8283 PROFILE_TASK='-m test.regrtest --pgo \
8384 test_array \
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ RUN set -ex \
8080# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8181# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8282 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
83+ LDFLAGS="-Wl,--strip-all" \
8384# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8485 PROFILE_TASK='-m test.regrtest --pgo \
8586 test_array \
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ RUN set -ex \
8080# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8181# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8282 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
83+ LDFLAGS="-Wl,--strip-all" \
8384# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8485 PROFILE_TASK='-m test.regrtest --pgo \
8586 test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
8181# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8282# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8383 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84+ LDFLAGS="-Wl,--strip-all" \
8485# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8586 PROFILE_TASK='-m test.regrtest --pgo \
8687 test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
8181# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8282# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8383 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84+ LDFLAGS="-Wl,--strip-all" \
8485# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
8586 PROFILE_TASK='-m test.regrtest --pgo \
8687 test_array \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
8181# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8282# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8383 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84+ LDFLAGS="-Wl,--strip-all" \
8485 && make install \
8586 \
8687 && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
8181# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8282# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8383 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84+ LDFLAGS="-Wl,--strip-all" \
8485 && make install \
8586 \
8687 && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RUN set -ex \
8181# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
8282# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
8383 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
84+ LDFLAGS="-Wl,--strip-all" \
8485 && make install \
8586 \
8687 && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' \
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ RUN set -ex \
7575# set thread stack size to 1MB so we don't segfault before we hit sys.getrecursionlimit()
7676# https://github.com/alpinelinux/aports/commit/2026e1259422d4e0cf92391ca2d3844356c649d0
7777 EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" \
78+ LDFLAGS="-Wl,--strip-all" \
7879# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7980 PROFILE_TASK='-m test.regrtest --pgo \
8081 test_array \
You can’t perform that action at this time.
0 commit comments