Skip to content

Commit 7a584af

Browse files
committed
Add dependencies for building brotli
1 parent 1b5de1e commit 7a584af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6969
libxslt-dev \
7070
gd-dev \
7171
geoip-dev \
72+
&& apk add --no-cache --virtual .brotli-build-deps \
73+
autoconf \
74+
libtool \
75+
automake \
7276
git \
77+
g++ \
78+
cmake \
7379
&& mkdir -p /usr/src \
7480
&& cd /usr/src \
7581
&& echo "Downloading Nginx" \
@@ -140,6 +146,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
140146
)" \
141147
&& apk add --no-cache --virtual .nginx-rundeps $runDeps \
142148
&& apk del .build-deps \
149+
&& apk del .brotli-build-deps \
143150
&& apk del .gettext \
144151
&& mv /tmp/envsubst /usr/local/bin/ \
145152
\

0 commit comments

Comments
 (0)