File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN set -ex; \
38
38
oniguruma-dev \
39
39
postgresql-dev \
40
40
runit; \
41
- apk add --no-cache --virtual build-dependencies build-base gcc wget autoconf; \
41
+ apk add --no-cache --virtual build-dependencies build-base gcc wget autoconf linux-headers ; \
42
42
docker-php-ext-install \
43
43
bcmath \
44
44
bz2 \
@@ -55,8 +55,11 @@ RUN set -ex; \
55
55
zip; \
56
56
pecl install imagick; \
57
57
docker-php-ext-enable --ini-name docker-php-ext-x-01-imagick.ini imagick; \
58
+ echo "#include <unistd.h>" > /usr/include/sys/unistd.h; \
58
59
pecl install grpc; \
59
- docker-php-ext-enable --ini-name docker-php-ext-x-05-grpc.ini grpc; \
60
+ docker-php-ext-enable --ini-name docker-php-ext-x-05-grpc.ini grpc; \
61
+ pecl install protobuf; \
62
+ docker-php-ext-enable --ini-name docker-php-ext-x-06-protobuf.ini protobuf; \
60
63
ln -sf /dev/stdout /var/log/nginx/access.log; \
61
64
ln -sf /dev/stderr /var/log/nginx/error.log; \
62
65
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" ;
You can’t perform that action at this time.
0 commit comments