-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 #2300
Comments
Same issue |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
Same issue for me on macos |
I solved the issue by adding an
|
Info:
$ docker --version
): Docker version 18.06.1-ce, build e68fc7a$ git rev-parse HEAD
): git clone https://github.com/Laradock/laradock.gitIssue:
$ docker-compose up -d nginx mysql
E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libxdmcp/libxdmcp6_1.1.2-3_amd64.deb 400 Bad Request [IP: 151.101.228.204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then apt-get install -y jpegoptim optipng pngquant gifsicle ;fi' returned a non-zero code: 100
↓
#1890 (comment)
/laradock/php-fpm/Dockerfile
###########################################################################
Image optimizers:
###########################################################################
USER root
ARG INSTALL_IMAGE_OPTIMIZERS=false
RUN if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then
apt-get update &&
apt-get install -y jpegoptim optipng pngquant gifsicle
;fi
↓
docker-compose build --no-cache php-fpm
↓
E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libx/libxdmcp/libxdmcp6_1.1.2-3_amd64.deb 400 Bad Request [IP: 151.101.196.204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_IMAGE_OPTIMIZERS} = true ]; then apt-get update && apt-get install -y jpegoptim optipng pngquant gifsicle ;fi' returned a non-zero code: 100
Who's coming to help me?
Installation failed many times!!
.env
https://docs.google.com/document/d/13zccsQDJ49LlcqhqMkS2AE9JFmaFgz1XiQsbO2hiNiI/edit?usp=sharing
The text was updated successfully, but these errors were encountered: