User Tools

Site Tools



Q. I'm trying to install in my Docker image but getting an error while compiling the sources:

Cloning into 'http'…
http/lib.c:31:17: fatal error: lua.h: No such file or directory #include <lua.h>

compilation terminated.

Error: Build error: Failed compiling object http/lib.o
gcc -O2 -fPIC -I/usr/include -c http/lib.c -o http/lib.o -I/usr/local/include

Here’s is my Dockerfile:

FROM tarantool/tarantool:1.7

RUN apk add —no-cache luarocks
git gcc

RUN luarocks install —local

WORKDIR /opt/tarantool

CMD [“tarantool”, “app.lua”]

Is there anything that I’m missing here? (2017)

A. This problem is caused by missing Tarantool header files.

By the way, Tarantool’s Docker image comes with a full stack of Tarantool modules, http being one of them. You might want to have a look at its Dockerfile.


Enter your comment. Wiki syntax is allowed:
L N​ T H M
installing/http.txt · Last modified: 2018/05/25 17:38 by eabates

Real Time Web Analytics