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

Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_APCU} = true ]; then pecl install apcu && docker-php-ext-enable apcu USER root' returned a non-zero co de: 2 #1944

Closed
jerry94test opened this issue Jan 10, 2019 · 6 comments
Labels

Comments

@jerry94test
Copy link

Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_APCU} = true ]; then pecl install apcu && docker-php-ext-enable apcu USER root' returned a non-zero co
de: 2

system Linux miss-pc 4.19.13-1-MANJARO #1 SMP PREEMPT Sat Dec 29 15:43:56 UTC 2018 x86_64 GNU/Linux

@zswordsman
Copy link

I have encountered the same problem. Have you solved it?

@bestlong
Copy link
Member

try docker-compose build --no-cache php-fpm

@nivin-studio
Copy link

try docker-compose build --no-cache php-fpm

This answer will solve the problem.

@nivin-studio
Copy link

try docker-compose build --no-cache php-fpm

This answer will solve the problem.

Or try add "USER root" In the Dockerfile

@stale
Copy link

stale bot commented Feb 7, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Feb 7, 2020
@stale
Copy link

stale bot commented Feb 28, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants