Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit 5805945

Browse files
committed
Fix: Use full path for phparkitect command
The PATH environment variable modification wasn't working correctly in the entrypoint context. Reverting to use explicit full path /composer/vendor/bin/phparkitect to ensure the command is found. This fixes the test failures where phparkitect command was not found.
1 parent 559eeb2 commit 5805945

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1818

1919
RUN mkdir /composer
2020
ENV COMPOSER_HOME=/composer
21-
ENV PATH="/composer/vendor/bin:${PATH}"
2221

2322
# Configure PHP
2423
RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
echo "::group::PHPArkitect Version"
6-
phparkitect --version
6+
/composer/vendor/bin/phparkitect --version
77
echo "::endgroup::"
88

99
# Build composer install flags
@@ -33,5 +33,5 @@ fi
3333
# Execute PHPArkitect with all arguments
3434
echo "::group::Running PHPArkitect"
3535
# shellcheck disable=SC2086
36-
phparkitect "$@" ${PHPARKITECT_FLAGS}
36+
/composer/vendor/bin/phparkitect "$@" ${PHPARKITECT_FLAGS}
3737
echo "::endgroup::"

0 commit comments

Comments
 (0)