Skip to content

Commit c3b89a8

Browse files
committed
also should apply to slim images.
1 parent e6f4aa2 commit c3b89a8

File tree

13 files changed

+16
-8
lines changed

13 files changed

+16
-8
lines changed

3.5/buster/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.5/stretch/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.6/buster/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.6/stretch/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.7/buster/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.7/stretch/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

3.8/alpine3.10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ENV LANG C.UTF-8
1818
RUN apk add --no-cache ca-certificates
1919

2020
ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
21-
ENV PYTHON_VERSION 3.8.2
21+
ENV PYTHON_VERSION 3.8.3
2222

2323
RUN set -ex \
2424
&& apk add --no-cache --virtual .fetch-deps \

3.8/alpine3.11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ENV LANG C.UTF-8
1818
RUN apk add --no-cache ca-certificates
1919

2020
ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
21-
ENV PYTHON_VERSION 3.8.2
21+
ENV PYTHON_VERSION 3.8.3
2222

2323
RUN set -ex \
2424
&& apk add --no-cache --virtual .fetch-deps \

3.8/buster/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
&& rm -rf /var/lib/apt/lists/*
2222

2323
ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
24-
ENV PYTHON_VERSION 3.8.2
24+
ENV PYTHON_VERSION 3.8.3
2525

2626
RUN set -ex \
2727
\

3.8/buster/slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2020
&& rm -rf /var/lib/apt/lists/*
2121

2222
ENV GPG_KEY E3FF2839C048B25C084DEBE9B26995E310250568
23-
ENV PYTHON_VERSION 3.8.2
23+
ENV PYTHON_VERSION 3.8.3
2424

2525
RUN set -ex \
2626
\
@@ -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
\

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy