orhun / git-cliff

A highly customizable Changelog Generator that follows Conventional Commit specifications ⛰️
https://git-cliff.org
Apache License 2.0
9.34k stars 201 forks source link

Docker image: missing GLIBC dependency. #954

Open otanriverdi opened 2 days ago

otanriverdi commented 2 days ago

Is there an existing issue for this?

Description of the bug

The docker image is failing to run the program due to a missing GLIBC dependency.

Steps To Reproduce

  1. Use the latest image
  2. Run the program

Expected behavior

The program can execute without errors.

Screenshots / Logs

git-cliff: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by git-cliff)`

Software information

The official docker immage on gitlab runners.

Additional context

No response

welcome[bot] commented 2 days ago

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

RobJDavey commented 2 days ago

I was just about to submit an issue I'd written for this same thing and refreshed to see you beat me to it! The same issue happens on both linux/amd64 and linux/arm64:

git-cliff: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.29' not found (required by git-cliff)

Here's a working command from the previous latest:

$ docker run orhunp/git-cliff:sha-d0848ff 'git-cliff --version'
git-cliff 2.6.1

vs the current one:

$ docker run orhunp/git-cliff:sha-7654e67 'git-cliff --version'
git-cliff: /lib/aarch64-linux-gnu/libm.so.6: version 'GLIBC_2.29' not found (required by git-cliff)
git-cliff: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.29' not found (required by git-cliff)
git-cliff: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.32' not found (required by git-cliff)
git-cliff: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.33' not found (required by git-cliff)
git-cliff: /lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by git-cliff)
orhun commented 2 days ago

Hey guys! Good timing, I'm in the middle of creating a new release :D

I think it is due to c28121c1aa427c3169df218a9803d838172f7c24 and should be fixed in 8bd0607e231e219f9b60eb4c7f0d8353ef4462e0 (bullseye contains libc6 according to these docs)

Thanks for reporting!

orhun commented 2 days ago

Oops, I guess I need to use bookworm instead, https://github.com/orhun/git-cliff/commit/36ad993d5956270c0df8c12d201068c1b4d7c580

orhun commented 1 day ago

Can you try again with latest?