Installing npm results in systemd affecting our /sbin/init
This commit is contained in:
parent
6da5ac5983
commit
8cf481d733
@ -6,7 +6,9 @@ FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest
|
|||||||
RUN pecl install xdebug \
|
RUN pecl install xdebug \
|
||||||
&& docker-php-ext-enable xdebug
|
&& docker-php-ext-enable xdebug
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y npm \
|
RUN mv /sbin/init /sbin/init.orig \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get update && apt-get install -y npm \
|
||||||
&& apt-get clean \
|
&& apt-get -y autoremove \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& 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