Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 7.4/ubuntu/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN set -ex \
php7.4-gd \
php7.4-mbstring \
php7.4-mysql \
php7.4-redis \
php7.4-zip


11 changes: 10 additions & 1 deletion 7.4/ubuntu/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG SWOOLE_VERSION
##
ENV SWOOLE_VERSION=${SWOOLE_VERSION:-"4.5.2"} \
# install and remove building packages
PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make php7.4-dev pkgconf re2c libtool automake libaio-dev"
PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make php7.4-dev pkgconf re2c libtool automake libaio-dev libzstd-dev"

# update
RUN set -ex \
Expand All @@ -29,6 +29,15 @@ RUN set -ex \
&& cd /tmp \
&& curl -SL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" -o swoole.tar.gz \
&& ls -alh \
# php extension:redis
&& pecl install igbinary \
&& yes | pecl install lzf \
&& pecl install zstd \
&& echo 'extension=igbinary' > /etc/php/7.4/cli/conf.d/20-igbinary.ini \
&& echo 'extension=lzf' > /etc/php/7.4/cli/conf.d/20-lzf.ini \
&& echo 'extension=zstd' > /etc/php/7.4/cli/conf.d/20-zstd.ini \
&& yes | pecl install redis \
&& echo 'extension=redis' > /etc/php/7.4/cli/conf.d/20-redis.ini \
# php extension:swoole
&& cd /tmp \
&& mkdir -p swoole \
Expand Down