exaco / laravel-octane-dockerfile

Production-ready Dockerfile for Laravel Octane (FrankenPHP, Swoole, RoadRunner) powered web services and microservices. Done right.
MIT License
547 stars 83 forks source link

permission denied at install-php-extensions #75

Open Kristian-Tan opened 2 months ago

Kristian-Tan commented 2 months ago

Error message:

/bin/bash: line 1: /usr/local/bin/install-php-extensions: Permission denied

ERROR: failed to solve: executor failed running [/bin/bash -eou pipefail -c apt-get update; apt-get upgrade -yqq; apt-get install -yqq --no-install-recommends --show-progress apt-utils curl wget nano ncdu procps ca-certificates supervisor libsodium-dev && install-php-extensions bz2 pcntl mbstring bcmath sockets pgsql pdo_pgsql opcache exif pdo_mysql zip intl gd redis rdkafka memcached igbinary ldap swoole && apt-get -y autoremove && apt-get clean && docker-php-source delete && rm -rf /var/lib/apt/lists/ /tmp/ /var/tmp/* && rm /var/log/lastlog /var/log/faillog]: exit code: 126

Steps to reproduce:

Edit: I managed to continue the build by adding chmod 777 /usr/local/bin/install-php-extensions before the line that call install-php-extensions in Swoole.Dockerfile, but I'm not sure if it's the correct thing to do

smortexa commented 1 month ago

Sorry, I can not reproduce this.