Use Busted and LuaJIT-cURL for tests
This commit is contained in:
@@ -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;'"]
|
||||
|
||||
Reference in New Issue
Block a user