PHP with sockets and pcntl

This commit is contained in:
Deon George
2021-07-06 15:36:16 +10:00
parent 972a4aeaf8
commit 9ec44c6646
3 changed files with 31 additions and 68 deletions

12
Dockerfile.phptest Normal file
View File

@@ -0,0 +1,12 @@
# NAME leenooks/php
# VERSION 8.0-fpm-test
FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
RUN apt-get update && apt-get install -y npm \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*