Skip to content

Commit

Permalink
Return imap installation from core, install pecl version only for 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Nov 23, 2024
1 parent 80bebc2 commit 9983bba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions 8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,11 @@ RUN set -xe; \
ln -sfnv /opt/mssql-tools*/bin/* /usr/bin; \
rm ./*.apk; \
\
imap_ver="1.0.3"; \
if [[ "${PHP_VERSION:0:3}" == "8.1" || "${PHP_VERSION:0:3}" == "8.2" ]]; then \
imap_ver="1.0.0"; \
if [[ "${PHP_VERSION:0:3}" == "8.1" || "${PHP_VERSION:0:3}" == "8.2" || "${PHP_VERSION:0:3}" == "8.3" ]]; then \
PHP_OPENSSL=yes docker-php-ext-configure imap \
--with-kerberos \
--with-imap-ssl; \
docker-php-ext-install "-j${NPROC}" imap; \
fi; \
MAKEFLAGS="-j ${NPROC}" pecl install \
apcu-5.1.24 \
Expand All @@ -242,7 +244,7 @@ RUN set -xe; \
event-3.1.4 \
grpc-1.68.0 \
igbinary-3.2.16 \
echo "imap-${imap_ver}" \
$(test "${PHP_VERSION:0:3}" == "8.4" && echo 'imap-1.0.3') \
memcached-3.2.0 \
mongodb-1.20.0 \
oauth-2.0.9 \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ var `PHP_EXTENSIONS_DISABLE=xdebug,xhprof,spx`.
| iconv | | | | |
| [igbinary] | 3.2.16 | 3.2.16 | 3.2.16 | 3.2.16 |
| [imagick] | `master` | `master` | `master` | `master` |
| [imap] | 1.0.3 | 1.0.3 | 1.0.0 | 1.0.0 |
| [imap] | 1.0.3 | - | - | - |
| imap | - | | | |
| intl | | | | |
| json | | | | |
| ldap | | | | |
Expand Down

0 comments on commit 9983bba

Please sign in to comment.