From 9c00fd3eb5ab823f5e3915bdeb13c0499dd03b66 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 6 Jan 2022 10:48:18 +1100 Subject: [PATCH] Update test Dockerifle --- Dockerfile.phptest | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile.phptest b/Dockerfile.phptest index 18e8eb0..d8819ea 100644 --- a/Dockerfile.phptest +++ b/Dockerfile.phptest @@ -1,12 +1,14 @@ # NAME leenooks/php -# VERSION 8.0-fpm-test +# VERSION 8.0-fpm-server-test FROM registry.leenooks.net/leenooks/php:8.0-fpm-server 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/* +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/*