php/Dockerfile.phptest

15 lines
377 B
Docker
Raw Normal View History

2020-08-23 02:54:50 +00:00
# NAME leenooks/php
# VERSION 8.1-fpm-test
2020-08-23 02:54:50 +00:00
FROM registry.leenooks.net/leenooks/php:8.1-fpm-latest
2020-08-23 02:54:50 +00:00
2020-08-24 05:51:21 +00:00
RUN pecl install xdebug \
2020-08-24 05:39:43 +00:00
&& docker-php-ext-enable xdebug
2020-10-15 01:28:50 +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/*