use latest php-zmq
Some checks failed
build and push / build (push) Failing after 3m56s

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2026-02-03 12:13:53 -08:00
parent af291b9036
commit 0380342ee8

View file

@ -1,12 +1,21 @@
FROM php:7.4.33-fpm-alpine3.16 as build
FROM php:7.4.33-fpm-alpine3.16 AS build
RUN apk update \
&& apk add --no-cache libpng-dev zeromq-dev git \
&& apk add --no-cache libpng-dev libzmq zeromq-dev git \
$PHPIZE_DEPS \
&& docker-php-ext-install gd && docker-php-ext-install pdo_mysql && \
pecl install redis && docker-php-ext-enable redis && \
pecl install channel://pecl.php.net/zmq-1.1.3 && docker-php-ext-enable zmq && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
pecl install redis && docker-php-ext-enable redis
RUN git clone git://github.com/mkoppanen/php-zmq.git \
&& cd php-zmq \
&& phpize && ./configure \
&& make \
&& make install \
&& cd .. \
&& rm -fr php-zmq
RUN docker-php-ext-enable zmq
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY pathfinder /app
WORKDIR /app