Move phpdbg install to Dockerfile
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
This commit is contained in:
parent
2e1d177e47
commit
462e0d2731
@ -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
1
Jenkinsfile
vendored
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user