Skip to content
This repository has been archived by the owner on May 29, 2021. It is now read-only.

Broken docker image uploaded recently #32

Open
dacarley opened this issue Mar 29, 2019 · 13 comments
Open

Broken docker image uploaded recently #32

dacarley opened this issue Mar 29, 2019 · 13 comments

Comments

@dacarley
Copy link

The most recent image of mvertes/alpine-mongo appears to contain Mongo 3.6.7, not Mongo 4.0.6, as expected.

image

For comparison, here's with the 4.0.5-0 tag:

image

@mvertes
Copy link
Owner

mvertes commented Mar 31, 2019

Ok, thanks for your report. It appears that the image is built from alpine:3.8, which contains mongo-3.6.7, instead of alpine:edge, which contains the last 4.0.6.
Fixing it.

@Svetomechc
Copy link

https://pkgs.alpinelinux.org/packages?name=mongodb&branch=edge
The package appears to be gone from edge repositories for good... any idea why?

Is there a new way to install latest version of MongoDB in Alpine?

@russkel
Copy link

russkel commented Jun 20, 2019

@Svetomechc It has been moved to the nonfree repository https://github.com/alpinelinux/aports/tree/master/non-free/mongodb

@Svetomechc
Copy link

@russkel ok, thanks for the info! Never installed from there, though. Is there a guide?

@russkel
Copy link

russkel commented Jun 20, 2019

@Svetomechc likewise. I believe you edit /etc/apk/repositories make a copy of one of the lines and s/community/nonfree/ ;)
Let me know how you go.

@Svetomechc
Copy link

Svetomechc commented Jun 20, 2019

@russkel I just checked that the version there is actually the same I have already - 4.0.6 (guess I downloaded it right before the takedown, was luckier than @dacarley). So, to use the latest 4.0.10 I will probably have to download one of the official images based on Ubuntu, not Alpine. Sad.

@russkel
Copy link

russkel commented Jun 20, 2019

@Svetomechc I was looking at updating the package but it has so many bloody patches. I also can't get mongo-cxx-driver to compile at the moment. It's all a bit of a mess, which is surprising given the perceived popularity of MongoDB.

@Svetomechc
Copy link

@russkel yeah, was really surprised too. And here's the radio silence when it went away from Alpine repos in our case. Literally no google results about this happening, you have to find out about this manually.

@russkel
Copy link

russkel commented Jun 21, 2019

@Svetomechc I have had success in building the drivers. I will probably upstream the packages to aports, if that's any help to you.

@Svetomechc
Copy link

@russkel let me know if you do. Though didn't find any documentation on their site on how to use them.

@russkel
Copy link

russkel commented Jul 2, 2019

@Svetomechc I am in the process of getting the drivers on edge testing, see alpinelinux/aports#9244

As for using the testing repository, please see https://wiki.alpinelinux.org/wiki/Edge

@Svetomechc
Copy link

@russkel only drivers, not mongodb itself?
And I use edge repositories already like so: echo "http://mirror.yandex.ru/mirrors/alpine/edge/testing" >> /etc/apk/repositories, but weren't we talking about aports, or is it the same thing?

@russkel
Copy link

russkel commented Jul 2, 2019

@Svetomechc at this point yes. I will take a shot at the db itself at some point.

Yes that's all you need. Aports are the scripts used to build the packages in the repositories.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants