-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile.clang: Don't pin clang patch version #1530
Conversation
This is probably because the base image is |
yeah not sure why we are pinning the version. @jrfastab might know 🤔 |
Our BPF programs are very sensitive to compiler version. That's why we're trying to pin it. |
6e5d69c
to
81e7a56
Compare
i see, but what can we do if the package keeps disappearing 💭 |
@michi-covalent I'm not super familiar with apt but if there's a way to pin it to 1.15 without caring about patch version that would be ideal |
yeah it's already pinned, they have different packages for claing, like |
I boldly assert that it's sufficient to specify the clang version by using clang-15 package. This way we can pick up the latest security release automatically. Otherwise this Dockerfile keeps breaking when there is a new security release and the old package gets deleted. Ref: https://github.com/cilium/tetragon/actions/runs/6355442579/job/17263533977#step:6:239 Ref: https://packages.ubuntu.com/jammy/clang-15 Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
:jarno-eclipse: |
81e7a56
to
48b7dcc
Compare
yeah dockerhub rate limits actions runners that are not hosted by github. opened #1532 to make things slightly better. |
ok but wish we were using clang-16 |
I'm ok to try this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK but if it gives us trouble we can revert.
I boldly assert that it's sufficient to specify the clang version by
using clang-15 package. This way we can pick up the latest security
release automatically. Otherwise this Dockerfile keeps breaking when
there is a new security release and the old package gets deleted.
Ref: https://github.com/cilium/tetragon/actions/runs/6355442579/job/17263533977#step:6:239
Ref: https://packages.ubuntu.com/jammy/clang-15
Signed-off-by: Michi Mutsuzaki michi@isovalent.com