mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-29 00:14:31 +08:00
fix for arm
This commit is contained in:
parent
31b12c3625
commit
4daaa37ed9
1 changed files with 2 additions and 3 deletions
|
@ -3,8 +3,7 @@ FROM php:8.1-fpm-bullseye
|
|||
|
||||
ARG FILES_ZIP
|
||||
|
||||
# can be x86_64 or aarch64
|
||||
ARG ARCH=x86_64
|
||||
|
||||
|
||||
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
|
||||
|
||||
|
@ -29,7 +28,7 @@ RUN mkdir -p /usr/share/man/man1/ /usr/share/man/man3/ /usr/share/man/man7/ && \
|
|||
|
||||
# Install PHP extensions
|
||||
RUN php -m && \
|
||||
docker-php-ext-configure ldap --with-libdir=lib/$ARCH-linux-gnu/ && \
|
||||
docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ && \
|
||||
docker-php-ext-configure intl && \
|
||||
docker-php-ext-configure gd --with-freetype --with-jpeg && \
|
||||
docker-php-ext-install ldap opcache pdo_mysql pdo_pgsql zip intl gd && \
|
||||
|
|
Loading…
Add table
Reference in a new issue