I'm building dynamically linked binaries on cimg/clojure:1.11.1-openjdk-17.0
Can this image be consided immutable or has anything changed lately with glibc on there?
Users are getting errors like:
clj-kondo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32\' not found (required by clj-kondo)\nclj-kondo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34\' not found (required by clj-kondo)\ncc @glenjamin @conormcd @rahul080327 I see here "last modified 28 november" https://circleci.com/developer/images/image/cimg/clojure How can I make my build environment immutable and predictable? I don't want to deal with issues like this :)
Use the full hash of the image
How can I see the previous hash of the image?
Expand the setup step of the last green build
ok. small detail: the builds were always green until you run the binary on another machine which doesn't have this super new glibc this docker image suddenly has, so I only noticed it after release
Ah
That’s harder then, you might have to download an image to see what’s on it
Or maybe check the Ubuntu release notes for glibc
Ah I see:
$ docker run --rm -it cimg/clojure@sha256:8298383d7753a2305663403871c31f238c3c5f0200e13f2394e32d4598a9fdf2 ldd --versionldd (Ubuntu GLIBC 2.31-0ubuntu9.7) 2.31That's better, I'll downgrade to that one
thanks for the help!