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

ERROR: Service 'php-fpm' failed to build #2936

Closed
danylloweb opened this issue Apr 5, 2021 · 2 comments · Fixed by #2937
Closed

ERROR: Service 'php-fpm' failed to build #2936

danylloweb opened this issue Apr 5, 2021 · 2 comments · Fixed by #2937
Assignees

Comments

@danylloweb
Copy link

danylloweb commented Apr 5, 2021

Description:

ERROR: Service 'php-fpm' failed to build

image

System info: Mac, Windows or Linux. Include which disto/version

{windows 10}
@apodacaduron
Copy link

apodacaduron commented Apr 5, 2021

Same on Mac OS Big Sur I think this is related to that fix #2935

Edit:
On Laradock/php-fpm/Dockerfile try commenting this last 2 lines for now

###########################################################################
# GnuPG:
###########################################################################

ARG INSTALL_GNUPG=false

RUN if [ ${INSTALL_GNUPG} = true ]; then \
      apt-get -yq install libgpgme-dev; \
      if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
        pecl install gnupg-1.5.0RC2; \
      else \
        pecl install gnupg; \
      fi; \
    fi;
    # docker-php-ext-enable gnupg;  \
    # php -m | grep -q 'gn

@danylloweb
Copy link
Author

OK! works after I commented

@bestlong bestlong self-assigned this Apr 6, 2021
@bestlong bestlong reopened this Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants