D4no0

D4no0

I’m not sure what are you looking for, wouldn’t it be easier to upgrade to OTP-26.2.5+ where this issue was patched?

1
Post #11
silverdr

silverdr OP

It would but there are no builder images for 26.2.5+ available yet. While I could build my own, setting this up is not a five minutes job. And also I’d rather prefer a “fail-safe” (like working with 24, 25, 26) solution in case I’d have to quickly downgrade again.

More specifically what I want to have is to get rid of the old

Reason: ~c"Option {verify, verify_peer} and cacertfile/cacerts is missing"

warning. While not a critical problem and I lived with it for some time I’d rather have it checked-off while I am still at it.

0
Post #12
D4no0

D4no0

While I understand this, I am also not very positive that you change versions everyday. I just now noticed that docker builds from hex do not come with specific OTP versions, which is not the greatest thing now that I think about it.

Personally I would take a look at the scripts for building these images and customize one of them for specific elixir and OTP version. I would even be inclined to help you make this into an official feature, as I use docker for almost all of my deploys.

1
Post #13
dimitarvp

dimitarvp

I get your concerns but they do seem a bit paranoid. An OTP 26.2.5 image will be up soon enough (if it isn’t already) and that’s the end of the conundrum.

Or indeed make your own Erlang + Elixir Dockerfile as @D4no0 said. Should be maximum 1h of work and you can make the versions configurable.

New OTP versions come with a lot of nice things, JIT and further optimizations included, so staying on old versions should be reserved only in very constrained conditions with very specific requirements IMO.

0
Post #14
LostKobrakai

LostKobrakai

Those are not the docker builds. However there were some issues resolved today: Missing latest images on docker hubs · Issue #187 · hexpm/bob · GitHub

1
Post #15
D4no0

D4no0

Are you sure? I never used images from hexpm, however from what I understood there are docker images hosted by hexpm and the ones on docker hub.

0
Post #16
silverdr

silverdr OP

I don’t. This time I had to though.

They do. You have to look here:

And that’s the easiest way and smallest image sizes. I did custom images before but those are leaner and faster to build “runner” images.

Probably yes so that’s an option to wait a (probably only) a little longer, but…

I do agree. That’s why I had everything running on 26 already for some time. But I got bitten by this very nastily so even if 26.2.5 pops up soon (which I think it will) I shall still be having a very close eye on how it behaves and whether the fix really fixed things and not introduced other problems, etc.

But right, maybe I am a bit too impatient and just wanted to fix all things around this area right away so that I don’t have to return to it later

1
Post #17
LostKobrakai

LostKobrakai

Hex bob does create and host precompiled erlang and elixir packages to download (e.g. used by asdf) for local installations. That‘s the list you looked at. It also builds docker images to much greater granularity, which are hosted on docker hub.

1
Post #18
D4no0

D4no0

Great to know, thanks! I always thought that hexpm has a custom registry where it hosts docker images. If both are hosted on dockerhub then what is the value of having 2 separate repositories?

0
Post #19
LostKobrakai

LostKobrakai

The „official“ elixir docker images were maintained by someone of the community way before hex started building docker images. Nowadays they‘re probably maintained (by the EEF nowadays) mostly for „these are called official“. It‘s hard to switch out stuff like that.

1
Post #20