Last active
January 9, 2019 19:40
-
-
Save mickaelandrieu/57d988daacffd96f0d83efa3cfc7e566 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.2-alpine | |
LABEL MAINTAINER="Mickaël Andrieu <[email protected]>" | |
RUN apk add --update libxslt-dev && \ | |
docker-php-ext-install xsl | |
RUN curl -fsSL https://getcomposer.org/installer | php \ | |
&& mv composer.phar /usr/local/bin/composer | |
RUN composer global require 'edgedesign/phpqa' 'friendsofphp/php-cs-fixer' 'jakub-onderka/php-parallel-lint' 'phpstan/phpstan' 'vimeo/psalm' --no-progress --no-scripts --no-interaction | |
ENV PATH /root/.composer/vendor/bin:$PATH | |
ENTRYPOINT ["phpqa"] | |
CMD ["--help"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Successfully tagged prestashop/phpqa:latest | |
The command "docker build -t prestashop/phpqa ." exited with 0. | |
0.44s$ docker run --rm -u $UID -v $PWD:/app prestashop/phpqa --report --ignoredDirs vendor | |
Could not open input file: /root/.composer/vendor/bin/phpqa | |
The command "docker run --rm -u $UID -v $PWD:/app prestashop/phpqa --report --ignoredDirs vendor" exited with 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment