From d1eb6fe8afd794dad3774c307d3abef2275c5dd5 Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Tue, 25 Jun 2024 11:03:45 +0000 Subject: [PATCH] debug --- Dockerfile.deb | 8 +++++++- ubuntu/Dockerfile | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile.deb b/Dockerfile.deb index 844f2de9..6d258808 100644 --- a/Dockerfile.deb +++ b/Dockerfile.deb @@ -25,7 +25,13 @@ RUN set -ex; \ && echo "${KONG_SHA256} /tmp/kong.deb" | sha256sum -c -; \ fi \ && apt-get update \ - && apt-get install --yes /tmp/kong.deb \ + && apt-get install --yes /tmp/kong.deb lua5.1 liblua5.1-dev unzip make \ + && curl -L https://luarocks.org/releases/luarocks-3.8.0.tar.gz -o luarocks-3.8.0.tar.gz \ + && tar zxpf luarocks-3.8.0.tar.gz \ + && cd luarocks-3.8.0 \ + && ./configure && make && make install \ + && export PATH=$PATH:/usr/local/bin/luarocks \ + && cd - \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /tmp/kong.deb \ && chown kong:0 /usr/local/bin/kong \ diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index aecc46d4..f9c97233 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -36,7 +36,7 @@ RUN set -ex; \ # Please update the ubuntu install docs if the below line is changed so that # end users can properly install Kong along with its required dependencies # and that our CI does not diverge from our docs. - && apt install --yes /tmp/kong.deb \ + && apt install --yes /tmp/kong.deb luarocks\ && rm -rf /var/lib/apt/lists/* \ && rm -rf /tmp/kong.deb \ && chown kong:0 /usr/local/bin/kong \