Hi, try to install phalcon on standard image.
FROM php:7.2-fpm
RUN apt-get update -yqq
RUN apt-get install -y zlib1g-dev libpng-dev libjpeg-dev
RUN docker-php-ext-install -j$(nproc) gettext pdo_mysql \
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
RUN curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | bash \
&& apt-get clean \
&& apt-get update -yqq
RUN phpize -v
RUN apt-get install -y php7.2-phalcon=3.4.1-1+php7.2
logs during build
Step 6/7 : RUN phpize -v
---> Running in 98c506d23ea9
Configuring for:
PHP Api Version: 20170718
Zend Module Api No: 20170718
Zend Extension Api No: 320170718
Removing intermediate container 98c506d23ea9
---> dacc93586b31
Step 7/7 : RUN apt-get install -y php7.2-phalcon=3.4.1-1+php7.2
---> Running in dc466ffb0a12
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.2-phalcon : Depends: phpapi-20170718 but it is not installable
E: Unable to correct problems, you have held broken packages.
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get install -y php7.2-phalcon=3.4.1-1+php7.2' returned a non-zero code: 100
please help my, I don't have any idea how fix this.