docker icon indicating copy to clipboard operation
docker copied to clipboard

docker: Unable to install rock from a fresh image

Open RunsFor opened this issue 4 years ago • 0 comments

$ docker run --rm -it tarantool/tarantool:1.10.6 tarantoolctl rocks install luacheck
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest
Warning: Failed searching manifest: Failed fetching manifest for http://rocks.tarantool.org/ - Failed downloading http://rocks.tarantool.org/manifest - /root/.cache/luarocks/http___rocks.tarantool.org_/manifest

Error: No results matching query were found.

This happen because curl is not installed by default in the image. I suggest to add curl to all default images as well as a git package so user will be able to install all public rocks without installing additional dependencies.

RunsFor avatar Jun 25 '20 14:06 RunsFor