From 462e0d27317bf9caf1e72589960bdff65cc8edc7 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 4 Dec 2019 16:21:56 -0500 Subject: [PATCH] Move phpdbg install to Dockerfile --- Dockerfile | 3 ++- Jenkinsfile | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cdcdc2c..82c8cc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,5 @@ FROM php:7.4-cli-alpine RUN apk add --no-cache --virtual .persistent-deps libffi-dev \ && docker-php-ext-configure ffi --with-ffi \ - && docker-php-ext-install ffi + && docker-php-ext-install ffi \ + && apk add --no-cache php7-phpdbg diff --git a/Jenkinsfile b/Jenkinsfile index 11ecb58..dbe3a3b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,6 @@ pipeline { stages { stage('PHP 7.4') { steps { - sh 'apk add --no-cache php7-phpdbg' sh 'curl -sS https://getcomposer.org/installer | php' sh 'php composer.phar install' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'