Created
June 25, 2021 14:53
-
-
Save eloycoto/40c8bfceec8fb054cccbd30fde50d02f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG IMAGE=registry.redhat.io/3scale-amp2/apicast-gateway-rhel8:3scale2.10 | |
FROM ${IMAGE} | |
USER root | |
WORKDIR /opt/app-root/src/ | |
RUN dnf install -y perl-App-cpanminus gcc git | |
ENV LUA_PATH="/usr/lib64/lua/5.1/?.lua;/usr/local/share/lua/5.1/?.lua" | |
RUN mkdir -p /usr/share/lua/5.1/luarocks/ && \ | |
cp /usr/lib64/lua/5.1/luarocks/site_config.lua /usr/share/lua/5.1/luarocks/site_config.lua && \ | |
yum install -y luarocks && \ | |
luarocks install --server=http://luarocks.org/dev lua-rover | |
COPY Roverfile . | |
COPY Roverfile.lock . | |
RUN rover install --roverfile=/opt/app-root/src/Roverfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luarocks { | |
group 'production' { | |
module { 'busted' }, | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
busted 2.0.0-1||production | |
dkjson 2.5-2||production | |
lua-term 0.7-1||production | |
lua_cliargs 3.0-2||production | |
luafilesystem 1.8.0-1||production | |
luassert 1.8.0-0||production | |
luasystem 0.2.1-0||production | |
mediator_lua 1.1.2-0||production | |
penlight 1.10.0-1||production | |
say 1.3-1||production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment