tarantool / docker

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

Per-push docker tags #136

Open Totktonada opened 4 years ago

Totktonada commented 4 years ago

Like it is done in https://github.com/progaudi/tarantool-docker

aensidhe commented 4 years ago

I've actually fixed the build, but you can grab anything you find useful in my repo and I'll deprecate it to remove separation

Totktonada commented 4 years ago

NB: I guess it worth to keep :latest, :1, :2, :x.y being updated on per-release basis (because users likely expect that they will be updated this way), but push docker tags per-tarantool-push. We can also add :1-live, :2-live, :x.y-live for last pushed version in the corresponding tarantool branch.

Totktonada commented 4 years ago

I've actually fixed the build, but you can grab anything you find useful in my repo and I'll deprecate it to remove separation

BTW, can you share what else is worth to be updated from our side? As I see, you at least add some modules.

aensidhe commented 4 years ago

BTW, can you share what else is worth to be updated from our side? As I see, you at least add some modules.

I've added spacer and luautf8 only. I believe now you need only former, latter (it's analogue) is integrated into tarantool

aensidhe commented 4 years ago

NB: I guess it worth to keep :latest, :1, :2, :x.y being updated on per-release basis (because users likely expect that they will be updated this way), but push docker tags per-tarantool-push. We can also add :1-live, :2-live, :x.y-live for last pushed version in the corresponding tarantool branch.

Or you could have :1-release :)

Totktonada commented 4 years ago

We shortly discussed it with @oleg-piskunov and @avtikhon and now I feel a need to clarify this issue a bit. It is filed to bring the question into attention and to start the discussion.

There are different ways how we can proceed with it if we'll decide to do:

So, again, it is for discussion, not "I am absolutely sure we should implement everything what I proposed".

Now, why I ever bother with it? There are several usage scenarious, where fully qualified or live docker images may be useful (as well as RPM / Deb packages). I see the following:

knazarov commented 4 years ago

If you want to make Tarantool Docker containers better, here are a few things I'd do:

If you want an example of how we can use stackbrew with Tarantool, you can take a look at what I did with the experimental "tarantool-cartridge" container here: https://github.com/tarantool/cartridge-docker