Tweaked docker dev container to work with m1 apple silicon
Tested on m1 macbook, needs testing on amd64
This commit is contained in:
parent
a721405202
commit
7e04f70bf3
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue