Skip to content

Commit d8122fb

Browse files
fix: fix issue with build with ngx_brotli failed (#4089)
1 parent 06552f1 commit d8122fb

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

apps/openresty/1.27.1.2-0-1-focal/build/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ COPY tmp /tmp
117117
ARG CONTAINER_PACKAGE_URL
118118
RUN sed -i "s|http://archive.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL}|g" /etc/apt/sources.list \
119119
&& sed -i "s|http://security.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL}|g" /etc/apt/sources.list
120+
121+
COPY --from=panel-openresty /usr/local/openresty/modules/ngx_brotli /usr/local/openresty/modules/ngx_brotli
120122

121123
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
122124
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
@@ -216,7 +218,8 @@ RUN bash /tmp/default.sh
216218
COPY --from=panel-openresty /usr/local/openresty/1pwaf /usr/local/openresty/1pwaf
217219
COPY --from=panel-openresty /usr/local/openresty/1pwaf/libraries/libmaxminddb.so /usr/local/openresty/1pwaf/libraries/libmaxminddb.so
218220
COPY --from=panel-openresty /usr/local/openresty/1pwaf/libraries/libinjection.so /usr/local/openresty/1pwaf/libraries/libinjection.so
219-
COPY --from=panel-openresty /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so
221+
COPY --from=panel-openresty /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so /usr/local/openresty/luajit/lib/lua/5.1/lsqlite3.so
222+
COPY --from=panel-openresty /usr/local/openresty/luajit/lib/lua/5.1/lfs.so /usr/local/openresty/luajit/lib/lua/5.1/lfs.so
220223

221224
CMD ["/usr/local/openresty/bin/openresty", "-g", "daemon off;"]
222225

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apt-get install -y --no-install-recommends libsqlite3-dev git python3 automake autoconf libtool\
22
&& apt-get clean \
33
&& rm -rf /var/lib/apt/lists/* \
4-
&& luarocks install luafilesystem \
54
&& mkdir -p /usr/local/openresty/1pwaf/libraries
-2.25 MB
Binary file not shown.
-786 KB
Binary file not shown.
-41.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)