File tree Expand file tree Collapse file tree 8 files changed +8
-0
lines changed Expand file tree Collapse file tree 8 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
7070 --with-system-ffi \
7171 --without-ensurepip \
7272 && make -j "$(nproc)" \
73+ LDFLAGS="-Wl,--strip-all" \
7374# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7475 PROFILE_TASK='-m test.regrtest --pgo \
7576 test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
7070 --with-system-ffi \
7171 --without-ensurepip \
7272 && make -j "$(nproc)" \
73+ LDFLAGS="-Wl,--strip-all" \
7374# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7475 PROFILE_TASK='-m test.regrtest --pgo \
7576 test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
7070 --with-system-ffi \
7171 --without-ensurepip \
7272 && make -j "$(nproc)" \
73+ LDFLAGS="-Wl,--strip-all" \
7374# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7475 PROFILE_TASK='-m test.regrtest --pgo \
7576 test_array \
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ RUN set -ex \
7070 --with-system-ffi \
7171 --without-ensurepip \
7272 && make -j "$(nproc)" \
73+ LDFLAGS="-Wl,--strip-all" \
7374# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7475 PROFILE_TASK='-m test.regrtest --pgo \
7576 test_array \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
7171 --with-system-ffi \
7272 --without-ensurepip \
7373 && make -j "$(nproc)" \
74+ LDFLAGS="-Wl,--strip-all" \
7475# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7576 PROFILE_TASK='-m test.regrtest --pgo \
7677 test_array \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
7171 --with-system-ffi \
7272 --without-ensurepip \
7373 && make -j "$(nproc)" \
74+ LDFLAGS="-Wl,--strip-all" \
7475# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
7576 PROFILE_TASK='-m test.regrtest --pgo \
7677 test_array \
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ RUN set -ex \
7171 --with-system-ffi \
7272 --without-ensurepip \
7373 && make -j "$(nproc)" \
74+ LDFLAGS="-Wl,--strip-all" \
7475 && make install \
7576 && ldconfig \
7677 \
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ RUN set -ex \
6565 --with-system-ffi \
6666 --without-ensurepip \
6767 && make -j "$(nproc)" \
68+ LDFLAGS="-Wl,--strip-all" \
6869# setting PROFILE_TASK makes "--enable-optimizations" reasonable: https://bugs.python.org/issue36044 / https://github.com/docker-library/python/issues/160#issuecomment-509426916
6970 PROFILE_TASK='-m test.regrtest --pgo \
7071 test_array \
You can’t perform that action at this time.
0 commit comments