Adds ngx_brotli module

This commit is contained in:
Jamie Curnow
2024-10-17 15:34:52 +10:00
parent 78572cc85e
commit 5d4df92e79
3 changed files with 30 additions and 1 deletions
+6
View File
@@ -11,6 +11,7 @@ ARG LUAROCKS_VERSION
RUN apt-get update \
&& apt-get install -y \
build-essential \
cmake \
ca-certificates \
libncurses-dev \
libpcre3-dev \
@@ -22,6 +23,10 @@ RUN apt-get update \
git \
libmaxminddb-dev
# brotli build
COPY ./scripts/build-brotli /tmp/build-brotli
RUN /tmp/build-brotli
# Lua build
COPY ./scripts/build-lua /tmp/build-lua
RUN /tmp/build-lua
@@ -70,6 +75,7 @@ COPY ./files/.bashrc /root/.bashrc
# Copy lua and luarocks builds from first image
COPY --from=nginxbuilder /tmp/lua /tmp/lua
COPY --from=nginxbuilder /tmp/ngx_brotli /tmp/ngx_brotli
COPY --from=nginxbuilder /tmp/luarocks /tmp/luarocks
COPY ./scripts/install-lua /tmp/install-lua