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: Unable to install rock from a fresh image #168

Open
RunsFor opened this issue Jun 25, 2020 · 0 comments
Open

docker: Unable to install rock from a fresh image #168

RunsFor opened this issue Jun 25, 2020 · 0 comments
Labels
5856 bug Something isn't working

Comments

@RunsFor
Copy link

RunsFor commented Jun 25, 2020

$ 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.

@Totktonada Totktonada transferred this issue from tarantool/tarantool Jun 25, 2020
@Totktonada Totktonada added the bug Something isn't working label Jun 25, 2020
avtikhon added a commit that referenced this issue Jul 13, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3
After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.
All builds for Tarantool 2.x based on alpine 3.5 version moved to
use 3.9 version.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 13, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3
After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.
All builds for Tarantool 2.x based on alpine 3.5 version moved to
use 3.9 version.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 13, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3
After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.
All builds for Tarantool 2.x based on alpine 3.5 version moved to
use 3.9 version.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3
After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.
All builds for Tarantool 2.x based on alpine 3.5 version moved to
use 3.9 version.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3
After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.
All builds for Tarantool 2.x based on alpine 3.5 version moved to
use 3.9 version.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.

All builds for Tarantool 2.x except 2.1.0 based on alpine 3.5 version
moved to use 3.9 version.

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.

All builds for Tarantool 2.x except 2.1.0 based on alpine 3.5 version
moved to use 3.9 version.

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.

All builds for Tarantool 2.x except 2.1.0 based on alpine 3.5 version
moved to use 3.9 version.

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 14, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.

All builds for Tarantool 2.x except 2.1.0 based on alpine 3.5 version
moved to use 3.9 version.

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Jul 15, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

After build for curl from sources became unneeded, the dockerfiles
alpine_3.5_2.x and alpine_3.9 became the same and were merged.

All builds for Tarantool 2.x except 2.1.0 based on alpine 3.5 version
moved to use 3.9 version.

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
avtikhon added a commit that referenced this issue Aug 6, 2020
Added curl and git packages for run time to be able to install rocks
without additional dependences.

Also added curl-dev package to build time of the image. It helped to
avoid of local build of the curl from sources of version 5.59.0 due
to alpine OS has the following curl default packages:
alpine 3.5: curl 7.61.1-r1
alpine 3.9: curl 7.64.0-r3

Removed installation of tarantool_curl rock from alpine_3.5_1.x
dockerfile, so alpine_3.5_* dockerfiles became the same and were
merged into alpine_3.5.

Closes #168
Part of #152
@kyukhin kyukhin added the 5856 label Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5856 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants