forked from mobtitude/docker-php-xdebug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (16 loc) · 655 Bytes
/
Dockerfile
File metadata and controls
19 lines (16 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM #BASE_IMAGE#
LABEL org.opencontainers.image.authors="Przemek Szalko <przemek@mobtitude.com>"
# php intl extension
RUN apt-get update \
&& apt-get install -y libicu-dev \
&& docker-php-ext-install intl \
&& docker-php-ext-install pdo_mysql \
&& docker-php-source delete \
&& apt-get remove -y libicu-dev \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pecl channel-update pecl.php.net \
&& pecl install #XDEBUG_VERSION# \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini