diff --git a/Dockerfile.php8-review b/Dockerfile.php8-review index 822bd58..013bfad 100644 --- a/Dockerfile.php8-review +++ b/Dockerfile.php8-review @@ -9,17 +9,10 @@ WORKDIR /opt/ # Aborting as no plugin should be loaded if running as super user is not explicitly allowed ENV COMPOSER_ALLOW_SUPERUSER=1 -# install php-tools -RUN git clone https://github.com/linkorb/php-tools.git -RUN cd php-tools && COMPOSER_MEMORY_LIMIT=-1 /usr/bin/composer install - # install reviewdog RUN curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s RUN mv /opt/bin/reviewdog /usr/local/bin -# add php-tools to search path globally -RUN echo "export PATH=$PATH:/opt/php-tools/bin" >> /etc/bash.bashrc - RUN composer global require icanhazstring/composer-unused \ && ln -s /root/.config/composer/vendor/bin/composer-unused /usr/local/bin/composer-unused