Skip to content

Commit 4d5f57a

Browse files
author
tchapi
committed
chore
1 parent 8185614 commit 4d5f57a

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30-
- name: Install GD PHP extension
30+
- name: Install GD / ZIP PHP extension
3131
run: |
32-
apk add $PHPIZE_DEPS libpng-dev
32+
apk add $PHPIZE_DEPS libpng-dev libzip-dev
3333
docker-php-ext-configure gd
34-
docker-php-ext-install gd
34+
docker-php-ext-configure zip
35+
docker-php-ext-install gd zip
3536
- name: Install Composer
3637
run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
3738
- name: Validate Composer
@@ -70,15 +71,17 @@ jobs:
7071
php:
7172
- '8.2'
7273
- '8.3'
74+
- '8.4'
7375
fail-fast: false
7476
steps:
7577
- name: Checkout
7678
uses: actions/checkout@v4
77-
- name: Install MySQL / GD PHP extensions
79+
- name: Install MySQL / GD / ZIP PHP extensions
7880
run: |
79-
apk add $PHPIZE_DEPS icu-libs icu-dev libpng-dev
81+
apk add $PHPIZE_DEPS icu-libs icu-dev libpng-dev libzip-dev
8082
docker-php-ext-configure intl
8183
docker-php-ext-configure gd
84+
docker-php-ext-configure zip
8285
docker-php-ext-install pdo pdo_mysql intl gd zip
8386
- name: Install Composer
8487
run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet

docker/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ RUN apk --update --virtual build-deps-ldap add --no-cache openldap-dev \
5656
&& apk del build-deps-ldap \
5757
&& rm -rf /tmp/*
5858

59+
# Zip lib for PHP-IMAP
60+
RUN apk --update --virtual build-deps-zip add --no-cache libzip-dev \
61+
&& docker-php-ext-configure zip \
62+
&& docker-php-ext-install zip \
63+
&& apk del build-deps-zip \
64+
&& rm -rf /tmp/*
65+
5966
# OPCache
6067
RUN docker-php-ext-install opcache
6168
COPY ./docker/configurations/opcache.ini /usr/local/etc/php/conf.d/opcache.ini

docker/Dockerfile-standalone

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ RUN apk --update --virtual build-deps-ldap add --no-cache openldap-dev \
5757
&& apk del build-deps-ldap \
5858
&& rm -rf /tmp/*
5959

60-
# IMAP auth support
61-
RUN apk --update --virtual build-deps-imap add --no-cache imap-dev openssl-dev krb5-dev \
62-
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
63-
&& docker-php-ext-install imap \
64-
&& apk del build-deps-imap \
60+
# Zip lib for PHP-IMAP
61+
RUN apk --update --virtual build-deps-zip add --no-cache libzip-dev \
62+
&& docker-php-ext-configure zip \
63+
&& docker-php-ext-install zip \
64+
&& apk del build-deps-zip \
6565
&& rm -rf /tmp/*
6666

6767
# OPCache

0 commit comments

Comments
 (0)