Merge pull request #3573 from BookStackApp/m1_docker_support

M1/Apple Silicon dev docker compatibility
This commit is contained in:
Dan Brown 2022-07-14 11:03:25 +01:00 committed by GitHub
commit 40d939394b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ WORKDIR /app
# Install additional dependacnies and configure apache
RUN apt-get update -y \
&& apt-get install -y git zip unzip libpng-dev libldap2-dev libzip-dev wait-for-it \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-configure ldap --with-libdir="lib/$(gcc -dumpmachine)" \
&& docker-php-ext-install pdo_mysql gd ldap zip \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \