Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix starting container process caused: exec: "bin/phpunit": permission #625

Closed
wants to merge 1 commit into from

Commits on Apr 30, 2024

  1. fix starting container process caused: exec: "bin/phpunit": permission

    Hi,
    While checking the CI template, I encountered an error:
    `OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "bin/phpunit": permission.` It surprised me a lot because everything was working fine locally.
    I managed to find a solution to the problem here: api-platform/api-platform#1819.
    I added a patch to the docker-entrypoint.sh file:
    
    ```shell
    if [ "$APP_ENV" != 'prod' ]; then
       # api-platform/api-platform#1819
       chmod +x bin/phpunit
    fi
    ```
    and everything started functioning correctly.
    EnterVPL committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    957f58c View commit details
    Browse the repository at this point in the history