Updated with /sbin/init hack
This commit is contained in:
parent
20d1800ca1
commit
6ab3e69d83
@ -1,12 +1,14 @@
|
||||
# NAME leenooks/php
|
||||
# VERSION 8.0-fpm-test
|
||||
# VERSION 8.0-fpm-image-test
|
||||
|
||||
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 install -y npm \
|
||||
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user