File tree 16 files changed +22
-75
lines changed
16 files changed +22
-75
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ RUN set -ex; \
21
21
libzip-dev \
22
22
; \
23
23
\
24
- docker-php-ext-configure gd \
25
- --with-freetype-dir=/usr \
26
- --with-jpeg-dir=/usr \
27
- --with-png-dir=/usr \
28
- ; \
24
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
29
25
docker-php-ext-install -j "$(nproc)" \
30
26
bcmath \
31
27
exif \
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ RUN set -ex; \
12
12
libzip-dev \
13
13
; \
14
14
\
15
- docker-php-ext-configure gd \
16
- --with-freetype-dir=/usr \
17
- --with-jpeg-dir=/usr \
18
- --with-png-dir=/usr \
19
- ; \
15
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
20
16
docker-php-ext-install -j "$(nproc)" \
21
17
bcmath \
22
18
exif \
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ RUN set -ex; \
23
23
libzip-dev \
24
24
; \
25
25
\
26
- docker-php-ext-configure gd \
27
- --with-freetype-dir=/usr \
28
- --with-jpeg-dir=/usr \
29
- --with-png-dir=/usr \
30
- ; \
26
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
31
27
docker-php-ext-install -j "$(nproc)" \
32
28
bcmath \
33
29
exif \
Original file line number Diff line number Diff line change @@ -22,11 +22,7 @@ RUN set -ex; \
22
22
libpng-dev \
23
23
; \
24
24
\
25
- docker-php-ext-configure gd \
26
- --with-freetype-dir=/usr \
27
- --with-jpeg-dir=/usr \
28
- --with-png-dir=/usr \
29
- ; \
25
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
30
26
docker-php-ext-install -j "$(nproc)" \
31
27
bcmath \
32
28
exif \
Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ RUN set -ex; \
11
11
libpng-dev \
12
12
; \
13
13
\
14
- docker-php-ext-configure gd \
15
- --with-freetype-dir=/usr \
16
- --with-jpeg-dir=/usr \
17
- --with-png-dir=/usr \
18
- ; \
14
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
19
15
docker-php-ext-install -j "$(nproc)" \
20
16
bcmath \
21
17
exif \
Original file line number Diff line number Diff line change @@ -20,11 +20,7 @@ RUN set -ex; \
20
20
libpng-dev \
21
21
; \
22
22
\
23
- docker-php-ext-configure gd \
24
- --with-freetype-dir=/usr \
25
- --with-jpeg-dir=/usr \
26
- --with-png-dir=/usr \
27
- ; \
23
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
28
24
docker-php-ext-install -j "$(nproc)" \
29
25
bcmath \
30
26
exif \
Original file line number Diff line number Diff line change @@ -22,11 +22,7 @@ RUN set -ex; \
22
22
libpng-dev \
23
23
; \
24
24
\
25
- docker-php-ext-configure gd \
26
- --with-freetype-dir=/usr \
27
- --with-jpeg-dir=/usr \
28
- --with-png-dir=/usr \
29
- ; \
25
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
30
26
docker-php-ext-install -j "$(nproc)" \
31
27
bcmath \
32
28
exif \
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ RUN set -ex; \
23
23
libzip-dev \
24
24
; \
25
25
\
26
- docker-php-ext-configure gd \
27
- --with-freetype-dir=/usr \
28
- --with-jpeg-dir=/usr \
29
- --with-png-dir=/usr \
30
- ; \
26
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
31
27
docker-php-ext-install -j "$(nproc)" \
32
28
bcmath \
33
29
exif \
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ RUN set -ex; \
12
12
libzip-dev \
13
13
; \
14
14
\
15
- docker-php-ext-configure gd \
16
- --with-freetype-dir=/usr \
17
- --with-jpeg-dir=/usr \
18
- --with-png-dir=/usr \
19
- ; \
15
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
20
16
docker-php-ext-install -j "$(nproc)" \
21
17
bcmath \
22
18
exif \
Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ RUN set -ex; \
21
21
libzip-dev \
22
22
; \
23
23
\
24
- docker-php-ext-configure gd \
25
- --with-freetype-dir=/usr \
26
- --with-jpeg-dir=/usr \
27
- --with-png-dir=/usr \
28
- ; \
24
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
29
25
docker-php-ext-install -j "$(nproc)" \
30
26
bcmath \
31
27
exif \
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ RUN set -ex; \
23
23
libzip-dev \
24
24
; \
25
25
\
26
- docker-php-ext-configure gd \
27
- --with-freetype-dir=/usr \
28
- --with-jpeg-dir=/usr \
29
- --with-png-dir=/usr \
30
- ; \
26
+ docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr; \
31
27
docker-php-ext-install -j "$(nproc)" \
32
28
bcmath \
33
29
exif \
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ RUN set -ex; \
23
23
libzip-dev \
24
24
; \
25
25
\
26
- docker-php-ext-configure gd \
27
- --with-freetype-dir=/usr \
28
- --with-jpeg-dir=/usr \
29
- --with-png-dir=/usr \
30
- ; \
26
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
31
27
docker-php-ext-install -j "$(nproc)" \
32
28
bcmath \
33
29
exif \
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ RUN set -ex; \
12
12
libzip-dev \
13
13
; \
14
14
\
15
- docker-php-ext-configure gd \
16
- --with-freetype-dir=/usr \
17
- --with-jpeg-dir=/usr \
18
- --with-png-dir=/usr \
19
- ; \
15
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
20
16
docker-php-ext-install -j "$(nproc)" \
21
17
bcmath \
22
18
exif \
Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ RUN set -ex; \
21
21
libzip-dev \
22
22
; \
23
23
\
24
- docker-php-ext-configure gd \
25
- --with-freetype-dir=/usr \
26
- --with-jpeg-dir=/usr \
27
- --with-png-dir=/usr \
28
- ; \
24
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
29
25
docker-php-ext-install -j "$(nproc)" \
30
26
bcmath \
31
27
exif \
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ RUN set -ex; \
23
23
libzip-dev \
24
24
; \
25
25
\
26
- docker-php-ext-configure gd \
27
- --with-freetype-dir=/usr \
28
- --with-jpeg-dir=/usr \
29
- --with-png-dir=/usr \
30
- ; \
26
+ docker-php-ext-configure gd --with-freetype --with-jpeg; \
31
27
docker-php-ext-install -j "$(nproc)" \
32
28
bcmath \
33
29
exif \
Original file line number Diff line number Diff line change @@ -80,6 +80,13 @@ for phpVersion in "${phpVersions[@]}"; do
80
80
" $dir /Dockerfile"
81
81
;;
82
82
esac
83
+ case " $phpVersion " in
84
+ 7.2 | 7.3 )
85
+ sed -ri \
86
+ -e ' s!gd --with-freetype --with-jpeg!gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr!g' \
87
+ " $dir /Dockerfile"
88
+ ;;
89
+ esac
83
90
84
91
cp -a " $entrypoint " " $dir /docker-entrypoint.sh"
85
92
You can’t perform that action at this time.
0 commit comments