File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN set -ex; \
3838 oniguruma-dev \
3939 postgresql-dev \
4040 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 ; \
4242 docker-php-ext-install \
4343 bcmath \
4444 bz2 \
@@ -55,8 +55,11 @@ RUN set -ex; \
5555 zip; \
5656 pecl install imagick; \
5757 docker-php-ext-enable --ini-name docker-php-ext-x-01-imagick.ini imagick; \
58+ echo "#include <unistd.h>" > /usr/include/sys/unistd.h; \
5859 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; \
6063 ln -sf /dev/stdout /var/log/nginx/access.log; \
6164 ln -sf /dev/stderr /var/log/nginx/error.log; \
6265 mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" ;
You can’t perform that action at this time.
0 commit comments