diff --git a/Dockerfile b/Dockerfile index ad74671..faefd42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,24 +1,17 @@ -FROM openresty/openresty:xenial AS base +FROM openresty/openresty:noble AS base USER root WORKDIR /usr/src -# ENV HOME=/usr/src RUN apt-get update RUN apt-get install -y libssl-dev -# RUN cd $HOME - -RUN curl -L -o /tmp/luarocks-3.12.2-1.src.rock https://luarocks.org/luarocks-3.12.2-1.src.rock &&\ - luarocks install /tmp/luarocks-3.12.2-1.src.rock &&\ - rm /tmp/luarocks-3.12.2-1.src.rock - FROM base AS build -COPY ./lua_resty_netacea-0.2-2.rockspec ./ +COPY ./lua_resty_netacea-1.0-0.rockspec ./ COPY ./src ./src -RUN /usr/local/openresty/luajit/bin/luarocks make ./lua_resty_netacea-0.2-2.rockspec +RUN /usr/local/openresty/luajit/bin/luarocks make ./lua_resty_netacea-1.0-0.rockspec FROM build AS test diff --git a/lua_resty_netacea-0.2-2.rockspec b/lua_resty_netacea-1.0-0.rockspec similarity index 91% rename from lua_resty_netacea-0.2-2.rockspec rename to lua_resty_netacea-1.0-0.rockspec index b0bba24..e9c3a9e 100644 --- a/lua_resty_netacea-0.2-2.rockspec +++ b/lua_resty_netacea-1.0-0.rockspec @@ -1,5 +1,5 @@ package = "lua_resty_netacea" -version = "0.2-2" +version = "1.0-0" source = { url = "git://github.com/Netacea/lua_resty_netacea", branch = "master" @@ -7,7 +7,7 @@ source = { description = { summary = "An Openresty module for easy integration of Netacea services", homepage = "https://github.com/Netacea/lua_resty_netacea", - maintainer = "Dan Lyon", + maintainer = "Netacea Ltd.", license = "MIT" } dependencies = {