Docker images are buildables

This commit is contained in:
Alexandre BRACH
2019-04-26 20:05:09 +02:00
parent a2dffd0916
commit 2c42f018bd
12 changed files with 2558 additions and 0 deletions

18
Dockerfile-debug Normal file
View File

@@ -0,0 +1,18 @@
ARG phraseanet
FROM $phraseanet
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
iproute2 \
&& rm -rf /var/lib/apt/lists/* \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& pecl clear-cache
ADD ./docker/phraseanet-debug/ /
RUN chmod +x /entrypoint.sh /usr/local/bin/docker-*
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]