JulienBreux / phpunit-docker

DEPRECATED :package: Docker image to use PHPUnit as CLI.
https://hub.docker.com/r/phpunit/phpunit/
MIT License
47 stars 28 forks source link

6.0.6 missing ext-xmlwriter #64

Closed rousku closed 7 years ago

rousku commented 7 years ago

Building the image for 6.0.6 fails with the following message:

./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - phpunit/phpunit 6.0.10 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.11 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.12 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.13 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.6 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.7 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.8 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/phpunit 6.0.9 requires phpunit/php-code-coverage ^5.0 -> satisfiable by phpunit/php-code-coverage[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1].
    - phpunit/php-code-coverage 5.0.0 requires phpunit/php-token-stream ^1.4.2 -> satisfiable by phpunit/php-token-stream[1.4.10, 1.4.11, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9].
    - phpunit/php-code-coverage 5.0.1 requires phpunit/php-token-stream ^1.4.2 || ^2.0 -> satisfiable by phpunit/php-token-stream[1.4.10, 1.4.11, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9].
    - phpunit/php-token-stream 1.4.9 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.8 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.7 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.6 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.5 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.4 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.3 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.2 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.11 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-token-stream 1.4.10 requires ext-tokenizer * -> the requested PHP extension tokenizer is missing from your system.
    - phpunit/php-code-coverage 5.2.1 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.2.0 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.1.1 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.1.0 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.0.4 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.0.3 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - phpunit/php-code-coverage 5.0.2 requires ext-xmlwriter * -> the requested PHP extension xmlwriter is missing from your system.
    - Installation request for phpunit/phpunit ~6.0.6 -> satisfiable by phpunit/phpunit[6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.6, 6.0.7, 6.0.8, 6.0.9].

Issue is fixed by adding line "php7-tokenizer \" to the Dockerfile.

JulienBreux commented 7 years ago

Hello @rousku a PR ? :)

luiz-brandao commented 7 years ago

This seems to have broken my build. It was working fine before with the 6.0.6 tag and only now I'm getting the message "the requested PHP extension xmlwriter is missing from your system". Any advice?

rousku commented 7 years ago

Update your latest alpine image by "docker pull alpine:latest"