Skip to content

Commit 70b2802

Browse files
authored
Merge pull request docker-library#660 from blopker/feature/with-lto
Fix docker-library#501: add --with-lto to 3.10 and newer
2 parents 35fa20f + 1fa00a0 commit 70b2802

File tree

13 files changed

+17
-0
lines changed

13 files changed

+17
-0
lines changed

3.10/alpine3.13/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ RUN set -ex \
8080
--enable-optimizations \
8181
--enable-option-checking=fatal \
8282
--enable-shared \
83+
--with-lto \
8384
--with-system-expat \
8485
--with-system-ffi \
8586
--without-ensurepip \

3.10/alpine3.14/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ RUN set -ex \
8080
--enable-optimizations \
8181
--enable-option-checking=fatal \
8282
--enable-shared \
83+
--with-lto \
8384
--with-system-expat \
8485
--with-system-ffi \
8586
--without-ensurepip \

3.10/bullseye/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ RUN set -ex \
4444
--enable-optimizations \
4545
--enable-option-checking=fatal \
4646
--enable-shared \
47+
--with-lto \
4748
--with-system-expat \
4849
--with-system-ffi \
4950
--without-ensurepip \

3.10/bullseye/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ RUN set -ex \
7171
--enable-optimizations \
7272
--enable-option-checking=fatal \
7373
--enable-shared \
74+
--with-lto \
7475
--with-system-expat \
7576
--with-system-ffi \
7677
--without-ensurepip \

3.10/buster/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ RUN set -ex \
4444
--enable-optimizations \
4545
--enable-option-checking=fatal \
4646
--enable-shared \
47+
--with-lto \
4748
--with-system-expat \
4849
--with-system-ffi \
4950
--without-ensurepip \

3.10/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
--enable-optimizations \
7272
--enable-option-checking=fatal \
7373
--enable-shared \
74+
--with-lto \
7475
--with-system-expat \
7576
--with-system-ffi \
7677
--without-ensurepip \

3.11-rc/alpine3.14/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ RUN set -ex \
8080
--enable-optimizations \
8181
--enable-option-checking=fatal \
8282
--enable-shared \
83+
--with-lto \
8384
--with-system-expat \
8485
--with-system-ffi \
8586
--without-ensurepip \

3.11-rc/bullseye/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ RUN set -ex \
4444
--enable-optimizations \
4545
--enable-option-checking=fatal \
4646
--enable-shared \
47+
--with-lto \
4748
--with-system-expat \
4849
--with-system-ffi \
4950
--without-ensurepip \

3.11-rc/bullseye/slim/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ RUN set -ex \
7171
--enable-optimizations \
7272
--enable-option-checking=fatal \
7373
--enable-shared \
74+
--with-lto \
7475
--with-system-expat \
7576
--with-system-ffi \
7677
--without-ensurepip \

Dockerfile-alpine.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ RUN set -ex \
7474
--enable-optimizations \
7575
--enable-option-checking=fatal \
7676
--enable-shared \
77+
--with-lto \
7778
--with-system-expat \
7879
--with-system-ffi \
7980
--without-ensurepip \

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