Skip to content

Commit

Permalink
Change swoole repo from openswoole to swoole
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktar Tairau committed Mar 14, 2022
1 parent fa7173f commit 57af354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG GID=1000

ENV COMPOSER_HOME="/tmp/composer"
ENV PHPREDIS_VERSION="5.3.7"
ENV SWOOLE_VERSION="v4.10.0"
ENV SWOOLE_VERSION="v4.8.7"

RUN set -x \
&& apk add --no-cache \
Expand All @@ -23,7 +23,7 @@ RUN set -x \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis/ --strip 1 \
&& mkdir -p /usr/src/php/ext/swoole \
&& curl -L https://github.com/openswoole/swoole-src/archive/$SWOOLE_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/swoole --strip 1 \
&& curl -L https://github.com/swoole/swoole-src/archive/$SWOOLE_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/swoole --strip 1 \
&& docker-php-ext-configure swoole --enable-swoole-curl \
&& CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install -j$(nproc) \
pdo_pgsql \
Expand Down

0 comments on commit 57af354

Please sign in to comment.