mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-29 04:10:09 +08:00
Merge pull request #3573 from BookStackApp/m1_docker_support
M1/Apple Silicon dev docker compatibility
This commit is contained in:
commit
40d939394b
|
@ -6,7 +6,7 @@ WORKDIR /app
|
||||||
# Install additional dependacnies and configure apache
|
# Install additional dependacnies and configure apache
|
||||||
RUN apt-get update -y \
|
RUN apt-get update -y \
|
||||||
&& apt-get install -y git zip unzip libpng-dev libldap2-dev libzip-dev wait-for-it \
|
&& 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 \
|
&& docker-php-ext-install pdo_mysql gd ldap zip \
|
||||||
&& pecl install xdebug \
|
&& pecl install xdebug \
|
||||||
&& docker-php-ext-enable xdebug \
|
&& docker-php-ext-enable xdebug \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user