2021-07-06 06:08:35 +00:00
|
|
|
# NAME leenooks/php
|
2022-07-30 01:05:38 +00:00
|
|
|
# VERSION 8.1-fpm-image-test
|
2021-07-06 06:08:35 +00:00
|
|
|
|
2022-07-30 01:05:38 +00:00
|
|
|
FROM registry.leenooks.net/leenooks/php:8.1-fpm-image
|
2021-07-06 06:08:35 +00:00
|
|
|
|
2022-02-06 07:04:49 +00:00
|
|
|
RUN apt-get update && apt-get -y install wget build-essential \
|
|
|
|
&& pecl install xdebug \
|
|
|
|
&& docker-php-ext-enable xdebug \
|
|
|
|
&& apt-get -y autoremove \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2021-07-06 06:08:35 +00:00
|
|
|
|
2022-01-20 05:16:14 +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/*
|