Use Busted and LuaJIT-cURL for tests

This commit is contained in:
2025-06-10 18:11:22 -07:00
parent 11c56aff4d
commit 9f019dbac5
5 changed files with 58 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
FROM openresty/openresty:1.27.1.2-0-bookworm-buildpack
FROM openresty/openresty:bookworm-buildpack
WORKDIR /opt/app
@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y \
RUN luarocks install sitegen
RUN luarocks install busted
RUN luarocks install luajit-curl
RUN luarocks install inotify INOTIFY_INCDIR=/usr/include/x86_64-linux-gnu/
CMD ["sh", "-c", "openresty -p `pwd` -g 'daemon off;'"]