Skip to content

Commit

Permalink
Fixing running benchmarks in the container
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer committed Jul 20, 2024
1 parent f3758cd commit d67d825
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ all:
@echo "Running CS-Fixer, CS-Checker, Static Analyser and Tests"
docker compose run php composer all

benchmark:
@echo "Running phpbench"
docker compose run php composer benchmark

shell:
@echo "Running shell"
docker compose run --service-ports --entrypoint /bin/bash php
2 changes: 2 additions & 0 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ RUN echo "xdebug.start_with_request=yes" >> /usr/local/etc/php/conf.d/docker-php

# Install Composer globally
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

RUN git config --global --add safe.directory /app

0 comments on commit d67d825

Please sign in to comment.