It would be great to include luarocks with your server directly into image. E.g. for Debian-based this can be achieved like this:
apt-get -q -y install git luarocks && \
mkdir "$HOME"/.luarocks && \
echo "rocks_servers = {[[http://rocks.tarantool.org/]], [[http://luarocks.org/repositories/rocks]]}" > "$HOME"/.luarocks/config.lua
It would be great to include luarocks with your server directly into image. E.g. for Debian-based this can be achieved like this: