Skip to content

Commit 89ab31a

Browse files
authored
Merge pull request #17 from appwrite/feat-curl
Feat: CURL
2 parents e965de8 + 504b0ba commit 89ab31a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ RUN \
2828
libmaxminddb-dev \
2929
zstd-dev \
3030
brotli-dev \
31-
lz4-dev
31+
lz4-dev \
32+
curl-dev
3233

3334
RUN docker-php-ext-install sockets
3435

@@ -47,7 +48,7 @@ RUN \
4748
git clone --depth 1 --branch $PHP_SWOOLE_VERSION https://github.com/swoole/swoole-src.git && \
4849
cd swoole-src && \
4950
phpize && \
50-
./configure --enable-sockets --enable-http2 --enable-openssl && \
51+
./configure --enable-sockets --enable-http2 --enable-openssl --enable-swoole-curl && \
5152
make && make install && \
5253
cd ..
5354

@@ -179,6 +180,7 @@ RUN \
179180
certbot \
180181
docker-cli \
181182
libgomp \
183+
git \
182184
&& docker-php-ext-install sockets opcache pdo_mysql pdo_pgsql \
183185
&& apk del .deps \
184186
&& rm -rf /var/cache/apk/*

0 commit comments

Comments
 (0)