15 lines
377 B
Docker
15 lines
377 B
Docker
# NAME leenooks/php
|
|
# VERSION 8.1-fpm-test
|
|
|
|
FROM registry.leenooks.net/leenooks/php:8.1-fpm-latest
|
|
|
|
RUN pecl install xdebug \
|
|
&& docker-php-ext-enable xdebug
|
|
|
|
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/*
|