Skip to content

Commit a7ea2f1

Browse files
committed
update enqueue/dev docker image
1 parent c17e79f commit a7ea2f1

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docker/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ RUN set -x && \
1313
git clone https://github.com/pdezwart/php-amqp.git . && git checkout v1.9.3 && \
1414
phpize --clean && phpize && ./configure && make install
1515

16-
## confis
17-
18-
# RUN rm -f /etc/php/7.0/cli/conf.d/*xdebug.ini
19-
2016
## librdkafka
2117
RUN set -x && \
2218
apt-get update && \
@@ -27,10 +23,10 @@ RUN set -x && \
2723
git checkout v0.11.1 && \
2824
./configure && make && make install && \
2925
pecl install rdkafka && \
30-
echo "extension=rdkafka.so" > /etc/php/7.1/cli/conf.d/10-rdkafka.ini && \
31-
echo "extension=rdkafka.so" > /etc/php/7.1/fpm/conf.d/10-rdkafka.ini
26+
echo "extension=rdkafka.so" > /etc/php/7.2/cli/conf.d/10-rdkafka.ini && \
27+
echo "extension=rdkafka.so" > /etc/php/7.2/fpm/conf.d/10-rdkafka.ini
3228

33-
COPY ./php/cli.ini /etc/php/7.1/cli/conf.d/1-dev_cli.ini
29+
COPY ./php/cli.ini /etc/php/7.2/cli/conf.d/1-dev_cli.ini
3430
COPY ./bin/dev_entrypoiny.sh /usr/local/bin/entrypoint.sh
3531
RUN chmod u+x /usr/local/bin/entrypoint.sh
3632

0 commit comments

Comments
 (0)