Move packages into the dev stage
This commit is contained in:
parent
64df467527
commit
725bd5380e
|
@ -1,10 +1,8 @@
|
||||||
FROM php:7.4-fpm-buster AS base
|
FROM php:7.4-fpm-buster AS base
|
||||||
|
|
||||||
RUN apt update -yqq && apt install -yqq \
|
RUN apt update -yqq && apt install -yqq \
|
||||||
git \
|
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
zip \
|
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
&& docker-php-ext-install \
|
&& docker-php-ext-install \
|
||||||
exif \
|
exif \
|
||||||
|
@ -19,8 +17,10 @@ ARG xdebug_version=2.9.0
|
||||||
|
|
||||||
RUN apt update -yqq \
|
RUN apt update -yqq \
|
||||||
&& apt install -yqq \
|
&& apt install -yqq \
|
||||||
|
git \
|
||||||
pv \
|
pv \
|
||||||
vim \
|
vim \
|
||||||
|
zip \
|
||||||
&& pecl install xdebug-${xdebug_version} \
|
&& pecl install xdebug-${xdebug_version} \
|
||||||
&& docker-php-ext-enable xdebug
|
&& docker-php-ext-enable xdebug
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue