Add build-essentials to Dockerfile.test

This commit is contained in:
Deon George 2022-02-06 18:04:49 +11:00
parent 6ab3e69d83
commit 7652408e48

View File

@ -3,8 +3,12 @@
FROM registry.leenooks.net/leenooks/php:8.0-fpm-image
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
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/*
RUN mv /sbin/init /sbin/init.orig \
&& apt-get update && apt-get install -y npm \