|
57 | 57 | librabbitmq-dev \ |
58 | 58 | libmagick++-dev \ |
59 | 59 | libgmp-dev \ |
| 60 | +{%- if version == '8.2' or version == '8.3' or version == '8.4' or version == '8.5' %} |
| 61 | + libssl-dev \ |
| 62 | +{%- endif %} |
60 | 63 | # Install guetzli |
61 | 64 | && wget https://github.com/google/guetzli/archive/master.zip \ |
62 | 65 | && unzip master.zip \ |
|
73 | 76 | && cd /usr/src/php/ext/amqp && git submodule update --init \ |
74 | 77 | && git clone --branch master --depth 1 https://github.com/Imagick/imagick.git /usr/src/php/ext/imagick \ |
75 | 78 | && docker-php-ext-configure ldap \ |
| 79 | +{%- if version == '8.2' or version == '8.3' %} |
| 80 | + && docker-php-ext-configure ftp --with-openssl-dir \ |
| 81 | +{%- elif version == '8.4' or version == '8.5' %} |
| 82 | + && docker-php-ext-configure ftp --with-ftp-ssl \ |
| 83 | +{%- endif %} |
76 | 84 | {%- if version != '8.4' and version != '8.5' %} |
77 | 85 | && PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ |
78 | 86 | {%- endif %} |
|
152 | 160 | librabbitmq-dev \ |
153 | 161 | libmagick++-dev \ |
154 | 162 | libgmp-dev \ |
| 163 | +{%- if version == '8.2' or version == '8.3' or version == '8.4' or version == '8.5' %} |
| 164 | + libssl-dev \ |
| 165 | +{%- endif %} |
155 | 166 | && rm -f /usr/local/etc/php-fpm.d/zz-docker.conf \ |
156 | 167 | && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer2 \ |
157 | 168 | && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer1 --1 \ |
|
234 | 245 | && git clone --branch latest --depth 1 https://github.com/php-amqp/php-amqp.git /usr/src/php/ext/amqp \ |
235 | 246 | && cd /usr/src/php/ext/amqp && git submodule update --init \ |
236 | 247 | && docker-php-ext-configure ldap \ |
| 248 | +{%- if version == '8.2' or version == '8.3' %} |
| 249 | + && docker-php-ext-configure ftp --with-openssl-dir \ |
| 250 | +{%- elif version == '8.4' or version == '8.5' %} |
| 251 | + && docker-php-ext-configure ftp --with-ftp-ssl \ |
| 252 | +{%- endif %} |
237 | 253 | {%- if version != '8.4' and version != '8.5' %} |
238 | 254 | && PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ |
239 | 255 | {%- endif %} |
|
0 commit comments