Skip to content

Commit

Permalink
chore: add php:7.3-cli-alpine install swoole dockerfile
Browse files Browse the repository at this point in the history
phpize failed
ref:docker-library/php#412
  • Loading branch information
chzhonge committed Jul 5, 2020
1 parent 619bc3d commit 6b3a775
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose-files/php/swoole/Dockerfile
@@ -0,0 +1,11 @@
FROM php:7.3-cli-alpine

ENV SWOOLE_VERSION=4.3.4

RUN apk add --no-cache \
$PHPIZE_DEPS \
openssl-dev

RUN set -xe && \
pecl install swoole-${SWOOLE_VERSION} && \
docker-php-ext-enable swoole

0 comments on commit 6b3a775

Please sign in to comment.