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

docker-compose build fails badly #65

Open
fnbauer opened this issue Oct 15, 2020 · 0 comments
Open

docker-compose build fails badly #65

fnbauer opened this issue Oct 15, 2020 · 0 comments

Comments

@fnbauer
Copy link

fnbauer commented Oct 15, 2020

Trying to set up Kansa to look at the Hugo back-end component, but the build fails. Besides numerous deprecated module warnings, the proxy build fails in an unrecoverable manner:

Building proxy
Step 1/6 : FROM openresty/openresty:jessie
 ---> 277bd066963c
Step 2/6 : RUN apt-get update &&   apt-get install --no-install-recommends --no-install-suggests -y     gettext-base   && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> fde2cf4d470b
Step 3/6 : RUN /usr/local/openresty/luajit/bin/luarocks install lua-resty-jwt
 ---> Running in e18645a7bcf6
Warning: The directory '/root/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing /usr/local/openresty/luajit/bin/luarocks with sudo, you may want sudo's -H flag.
Installing https://luarocks.org/lua-resty-jwt-0.2.2-0.src.rock

Error: Rockspec format 3.0 is not supported, please upgrade LuaRocks.
ERROR: Service 'proxy' failed to build: The command '/bin/sh -c /usr/local/openresty/luajit/bin/luarocks install lua-resty-jwt' returned a non-zero code: 1
Makefile:10: recipe for target 'start' failed
make: *** [start] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant