php/Dockerfile.phptest

15 lines
384 B
Docker
Raw Normal View History

2021-07-06 05:36:16 +00:00
# NAME leenooks/php
2022-01-05 23:48:18 +00:00
# VERSION 8.0-fpm-server-test
2021-07-06 05:36:16 +00:00
2021-07-16 07:17:15 +00:00
FROM registry.leenooks.net/leenooks/php:8.0-fpm-server
2021-07-06 05:36:16 +00:00
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
2022-01-05 23:48:18 +00:00
RUN mv /sbin/init /sbin/init.orig \
&& apt-get update && apt-get install -y npm \
&& apt-get -y autoremove \
&& apt-get clean \
&& mv /sbin/init.orig /sbin/init \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*