Move phpdbg install to Dockerfile
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit

This commit is contained in:
Timothy Warren 2019-12-04 16:21:56 -05:00
parent 2e1d177e47
commit 462e0d2731
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,5 @@ FROM php:7.4-cli-alpine
RUN apk add --no-cache --virtual .persistent-deps libffi-dev \ RUN apk add --no-cache --virtual .persistent-deps libffi-dev \
&& docker-php-ext-configure ffi --with-ffi \ && docker-php-ext-configure ffi --with-ffi \
&& docker-php-ext-install ffi && docker-php-ext-install ffi \
&& apk add --no-cache php7-phpdbg

1
Jenkinsfile vendored
View File

@ -3,7 +3,6 @@ pipeline {
stages { stages {
stage('PHP 7.4') { stage('PHP 7.4') {
steps { steps {
sh 'apk add --no-cache php7-phpdbg'
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'php composer.phar install' sh 'php composer.phar install'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never -c phpunit.xml tests'