Move packages into the dev stage

This commit is contained in:
Oliver Davies 2021-04-21 17:06:10 +01:00
parent 64df467527
commit 725bd5380e

View file

@ -1,10 +1,8 @@
FROM php:7.4-fpm-buster AS base
RUN apt update -yqq && apt install -yqq \
git \
libpng-dev \
mariadb-client \
zip \
zlib1g-dev \
&& docker-php-ext-install \
exif \
@ -19,8 +17,10 @@ ARG xdebug_version=2.9.0
RUN apt update -yqq \
&& apt install -yqq \
git \
pv \
vim \
zip \
&& pecl install xdebug-${xdebug_version} \
&& docker-php-ext-enable xdebug