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 20, 2024
1 parent b89c0ea commit 5da7fd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion php/php72/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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

Expand Down

0 comments on commit 5da7fd5

Please sign in to comment.