Skip to content

Commit

Permalink
Merge pull request #15 from mhitza/disable-php-tool-repository-9236
Browse files Browse the repository at this point in the history
fix: remove php-tools repo in PHP8 container #9236
  • Loading branch information
CesarScur authored Dec 12, 2024
2 parents ad88d03 + 95999d6 commit 841489e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Dockerfile.php8-review
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 841489e

Please sign in to comment.