Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed the luarocks source address #30

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openresty/openresty:stretch-fat

RUN apt-get update && \
apt-get -yq install cpanminus build-essential libreadline-dev unzip && \
curl -sSL https://luarocks.org/releases/luarocks-3.1.3.tar.gz -o luarocks-3.1.3.tar.gz && \
curl -sSL https://github.com/luarocks/luarocks/archive/refs/tags/v3.1.3.tar.gz -o luarocks-3.1.3.tar.gz && \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curl -I https://luarocks.org/releases/luarocks-3.1.3.tar.gz
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.20.1
Date: Thu, 26 May 2022 21:43:14 GMT
Content-Type: text/html
Content-Length: 151
Connection: keep-alive
Location: https://luarocks.github.io/luarocks/releases/luarocks-3.1.3.tar.gz
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny

tar zxpf luarocks-3.1.3.tar.gz && \
cd luarocks-3.1.3 && \
./configure --prefix=/usr/local/openresty/luajit \
Expand Down