-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add curl for rocks installations #179
Conversation
4279f1b
to
96954ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Thank you for the patch.
For 1d3083b
See comment #178 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Thank you for the patch.
For 96954ab
Please, separate it into few commits (approximately the same as in your comment message.)
README.md
Outdated
@@ -310,7 +310,7 @@ A maintaner is responsible for merging the PR. | |||
Say, we have updated dockerfiles/alpine_3.9_2.x and want to check it: | |||
|
|||
```sh | |||
$ IMAGE=tarantool/tarantool TAG=2 OS=alpine DIST=3.9 VER=2.x DOCKERFILE_NAME_SUFFIX=2.x \ | |||
$ IMAGE=tarantool/tarantool TAG=2 OS=alpine DIST=3.9 VER=2.x DOCKERFILE_NAME_SUFFIX= \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just remove "DOCKERFILE_NAME_SUFFIX="?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, it could be removed, but due to README file gives some usage explanation and not real code, I wanted to save it there as the format of the possible use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already discussed, just for a note: "This can be saved in the README, but not in this view."
Ok, I'll split it a bit, but do we really want to split too much ? I'm asking it because I think that swapping/changing curl must be in a single commit. So I would suggest the following splitting on commits:
|
Commented in there, please check. |
Already discussed, just for a note: "You've done a nice splitting of commits at #178. I think you can repeat the same here." |
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
Bumped Alpine version from 3.5 to 3.9 for building Tarantool versions: - 2.1.1 - 2.1.2 - 2.2.0 - 2.2.1 - 2.3.0 Part of #152
96954ab
to
1452e83
Compare
0502fff
to
b43ea3a
Compare
8127002
to
75c890f
Compare
I rebased it and it seems as doesn't work now |
@ylobankov please proceed with review/assign |
Alpine is going to be abandoned. |
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