Added npm to test image

This commit is contained in:
Deon George 2020-10-15 12:28:50 +11:00
parent c05c67ec02
commit 0d799f28c7

View File

@ -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/*