tarantool / docker

Docker images for tarantool database
https://hub.docker.com/r/tarantool/tarantool
52 stars 25 forks source link

Add ldoc luarocks to all the dockerfiles in common #176

Closed avtikhon closed 4 years ago

avtikhon commented 4 years ago
Add ldoc luarocks to all the dockerfiles in common

Found that ldoc rock installation fails using tarantoolctl without
additional setup of tarantoolctl configuration file and without
server path in options. In this case ldoc rock couldn't be found.
To avoid of it in past additional server path was set, but in real
the configuration file for tarantoolctl had to be installed as:

  /usr/local/etc/tarantool/rocks/config-5.1.lua

It was missed in commit:

  d68c646cc437e2bf4a861285dded166f33f3cb2a "penlight package dependencies broken"

Found that tarantoolctl didn't fail with the other rocks installations,
because it had its rocks in server path 'http://rocks.tarantool.org',
which is default for tarantoolctl tool even without additional
configurating, while ldoc didn't have any rock there.

To fix ldoc rock installation using tarantoolctl the configuration
file created and removed not needed for now additional server path
setup from tarantoolctl call options.

For CentOS 7 based images configuration file was used without setup
'lib_modules_path' variable to be sure that libs will be created in
both paths:

  /opt/tarantool/.rocks/lib/
  /opt/tarantool/.rocks/lib64/

Closes #175