File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ FROM --platform=${BUILDPLATFORM} alpine:edge
33
33
34
34
ARG TARGETPLATFORM
35
35
36
- ARG PHP_VERSION="8.2.1 "
36
+ ARG PHP_VERSION="8.2.2 "
37
37
ARG PHP_PACKAGE_BASENAME="php82"
38
38
ARG PHP_FPM_BINARY_PATH="/usr/sbin/php-fpm82"
39
39
ARG UNIT_VERSION="1.29.0"
@@ -111,7 +111,10 @@ RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pdo_sqlite
111
111
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pear
112
112
113
113
# FIXME: RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-amqp
114
+ # FIXME: remove version sed as soon as rabbitmq-c 0.13.0 is available in alpine
115
+ # hadolint ignore=DL4006
114
116
RUN apk add --no-cache binutils build-base openssl-dev autoconf pcre2-dev automake libtool linux-headers rabbitmq-c-dev ${PHP_PACKAGE_BASENAME}-dev~=${PHP_VERSION} --virtual .build-deps \
117
+ && sed -i "s/Version: \$ /Version: $(apk list rabbitmq-c | cut -f 3 -d '-')/g" /usr/lib/pkgconfig/librabbitmq.pc \
115
118
&& MAKEFLAGS="-j $(nproc)" pecl82 install amqp \
116
119
&& strip --strip-all /usr/lib/$PHP_PACKAGE_BASENAME/modules/amqp.so \
117
120
&& echo "extension=amqp" > /etc/$PHP_PACKAGE_BASENAME/conf.d/00_amqp.ini \
@@ -273,4 +276,4 @@ RUN mkdir -p /usr/src/app
273
276
RUN chown -R www-data:www-data /usr/src/app
274
277
WORKDIR /usr/src/app
275
278
276
- USER www-data
279
+ USER www-data
You can’t perform that action at this time.
0 commit comments