devilbox / docker-php-fpm

Devilbox's PHP-FPM Docker Images
http://devilbox.org
MIT License
351 stars 83 forks source link

[Bug]: Rebuild Docker images and update sources.list files #279

Open vvascautan opened 1 year ago

vvascautan commented 1 year ago

(Optional) Error message

No response

What went wrong?

Hello,

I am trying to build image with php-fpm5.3 with specific mods(php modules) and getting error while building the image. The problem is that on these images are debian 8 and mirrors are archived and have different URL: Can you please update the /etc/apt/sources.list

Thank you!

Expected behaviour

to build the image

How can we reproduce the bug?

try to build own image with version php-fpm5.3

Host Operating System

Linux

Host Platform (amd64, arm64, other)

amd64

(Linux only) Is SELinux enabled?

No, SELinux is disabled

Docker version

Docker version 24.0.6, build ed223bc

Log: docker logs

7.192 E: Some index files failed to download. They have been ignored, or old ones used instead.
------

 1 warning found (use --debug to expand):
 - Empty continuation line found in: RUN set -eux   && rm -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini || true   && rm -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini || true   && rm -f /usr/local/etc/php/conf.d/docker-php-ext-xhprof.ini || true EXPOSE 9000
Dockerfile-5.3:155
--------------------
 154 |     ###
 155 | >>> RUN set -eux \
 156 | >>>  && DEBIAN_FRONTEND=noninteractive apt-get update \
 157 | >>>  && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \
 158 | >>>  libevent-2.0-5 \
 159 | >>>  libmemcachedutil2 \
 160 | >>>  libmysqlclient18 \
 161 | >>>  librdkafka1 \
 162 | >>>  ca-certificates \
 163 | >>>  && rm -rf /var/lib/apt/lists/* \
 164 | >>>  \
 165 | >>>  && update-ca-certificates
 166 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux \t&& DEBIAN_FRONTEND=noninteractive apt-get update \t&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \tlibevent-2.0-5 \tlibmemcachedutil2 \tlibmysqlclient18 \tlibrdkafka1 \tca-certificates \t&& rm -rf /var/lib/apt/lists/* \t\t&& update-ca-certificates" did not complete successfully: exit code: 100
make: *** [Makefile.docker:67: docker-arch-build] Error 1

(Optional) Additional information

No response