Extract xdebug_version argument
This commit is contained in:
parent
c712da3079
commit
c9de9c1d54
|
@ -17,13 +17,15 @@ FROM base AS dev
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG xdebug_version=2.9.0
|
||||||
|
|
||||||
ENV PATH="./bin:./vendor/bin:$PATH"
|
ENV PATH="./bin:./vendor/bin:$PATH"
|
||||||
|
|
||||||
RUN apt update -yqq \
|
RUN apt update -yqq \
|
||||||
&& apt install -yqq \
|
&& apt install -yqq \
|
||||||
pv \
|
pv \
|
||||||
vim \
|
vim \
|
||||||
&& pecl install xdebug-2.9.0 \
|
&& pecl install xdebug-${xdebug_version} \
|
||||||
&& docker-php-ext-enable xdebug
|
&& docker-php-ext-enable xdebug
|
||||||
|
|
||||||
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
Loading…
Reference in a new issue