From 0d799f28c7cf16cf98b6d7a622a350855c4810ed Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 15 Oct 2020 12:28:50 +1100 Subject: [PATCH] Added npm to test image --- Dockerfile.phptest | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile.phptest b/Dockerfile.phptest index 3c3e63a..2d8b511 100644 --- a/Dockerfile.phptest +++ b/Dockerfile.phptest @@ -1,7 +1,12 @@ # NAME leenooks/php -# VERSION 7.4-fpm-mp +# VERSION 7.4-fpm-test FROM registry.leenooks.net/leenooks/php:7.4-fpm-mp 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/*