anycable / anycable-go

AnyCable real-time server
https://anycable.io
MIT License
377 stars 65 forks source link

Latest docker image missing GLIBC_2.29 #179

Closed marcosyu closed 1 year ago

marcosyu commented 1 year ago

Tell us about your environment

AnyCable-Go version: latest

AnyCable gem version: 1.3

What did you do?

Startup anycable go with the flags host, port, debug, rpc_host

What did you expect to happen?

For anycable-go to start

What actually happened?

It runs into an error

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by anycable-go)
palkan commented 1 year ago

Hey Marcos,

Could you please provide a bit more details? OS version, Docker image ID/checksum (or the full output of docker inspect ...)?

Envek commented 1 year ago

I can confirm that it happens on 1.4.0-mrb image (also aliased as latest now):

$ docker run --ulimit nofile=65536:65536 -p 8080:8080 -e "REDIS_URL=redis://redis:6379/0" -e "ANYCABLE_RPC_HOST=rpc:50051" -e "ANYCABLE_HOST=0.0.0.0" anycable/anycable-go:1.4.0-mrb
/usr/local/bin/anycable-go: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/bin/anycable-go)

This docker image is based on Debian 10 (buster) which has GLibC 2.28. But anycable-go binary requires at least 2.29 (Go upgrade maybe?)


Debian 10 (buster) is obsoleted (now under LTS support till 2024), so probably it is time to migrate to newer Debian 11 (bullseye) with GlibC 2.31 or Debian 12 (bookworm) with GLibC 2.36.

palkan commented 1 year ago

Thanks, @Envek!

it happens on 1.4.0-mrb image (also aliased as latest now):

Oh, that's bad; it should be latest-mrb.

Go upgrade maybe?

Yep.

palkan commented 1 year ago

@marcosyu For now, using anycable/anycable-go:1.4 should fix the issue.

Envek commented 1 year ago

Right now both latest and latest-mrb works, seems to be correct (without and with mruby respectively).

Use docker pull (or --pull=always option for docker run) to update image locally.

palkan commented 1 year ago

Ok, re-published the images; should work now.