Skip to content

Commit 64f7fd7

Browse files
committed
feat(lua): use external luarocks spec file
1 parent 25cc90f commit 64f7fd7

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

build.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

openid-connect-provider-debugger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apk upgrade --no-cache \
2121
COPY openid-connect-provider-debugger-0.0.0.rockspec /tmp/openid-connect-provider-debugger-0.0.0.rockspec
2222

2323
# We let lua-resty-session get pulled transitively to ensure compatibility
24-
RUN lua -e 'dofile("/tmp/openid-connect-provider-debugger-0.0.0.rockspec"); for _, dep in ipairs(dependencies) do local package, version = dep:match("^(.+)%s*==%s*(.+)$"); if package and version then print(package .. " " .. version) end end' | while read package version ; do \
24+
RUN luajit -e 'dofile("/tmp/openid-connect-provider-debugger-0.0.0.rockspec"); for _, dep in ipairs(dependencies) do local package, version = dep:match("^(.+)%s*==%s*(.+)$"); if package and version then print(package .. " " .. version) end end' | while read package version ; do \
2525
luarocks install "${package}" --pin "${version}" ; \
2626
done ; \
2727
rm -f /tmp/openid-connect-provider-debugger-0.0.0.rockspec

0 commit comments

Comments
 (0)