Skip to content

Commit

Permalink
Fix redis image not being able to build on amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Derschatta committed Nov 21, 2024
1 parent b89c0ea commit e871e40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion php/php70/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN git clone https://github.com/tideways/php-profiler-extension.git \

RUN echo "extension=tideways_xhprof.so" >> /usr/local/etc/php/conf.d/tideways_xhprof.ini

RUN pecl install -o -f redis \
RUN pecl install -o -f redis-6.0.2 \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis

Expand Down
2 changes: 1 addition & 1 deletion php/php71/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN git clone https://github.com/tideways/php-profiler-extension.git \

RUN echo "extension=tideways_xhprof.so" >> /usr/local/etc/php/conf.d/tideways_xhprof.ini

RUN pecl install -o -f redis \
RUN pecl install -o -f redis-6.0.2 \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis

Expand Down
4 changes: 2 additions & 2 deletions php/php72/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ RUN git clone https://github.com/longxinH/xhprof.git ./xhprof \
RUN echo "extension=xhprof.so" >> /usr/local/etc/php/conf.d/xhprof.ini \
&& echo "xhprof.output_dir = /tmp/xhprof" >> /usr/local/etc/php/conf.d/xhprof.ini

RUN pecl install -o -f redis \
RUN pecl install -o -f redis-6.0.2 \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable redis

RUN pecl install -o -f igbinary \
RUN pecl install -o -f igbinary-3.1.6 \
&& rm -rf /tmp/pear \
&& docker-php-ext-enable igbinary

Expand Down

0 comments on commit e871e40

Please sign in to comment.