-
Notifications
You must be signed in to change notification settings - Fork 370
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
Can't build image with make image
on Ubuntu-like system
#1606
Comments
Just for the context, it follows a discussion we had here #1595 (comment). I'll try to reproduce that but really I don't get it since the whole point of using Docker is to have a reproducible environment and here everything should be built inside |
I can't reproduce this, is this still an issue for you? I was thinking maybe it was the apt-get source manipulation but you seem to compile on amd64 for amd64 so... If you don't mind just skip bpftool compilation and download the precompiled static version using: - docker build -t "cilium/tetragon:latest" --target release --build-arg TETRAGON_VERSION=$(make version)
+ docker build -t "cilium/tetragon:latest" --build-arg TETRAGON_VERSION=$(make version) Feel free to reopen this issue if you still have the issue, I'm curious to debug this but for now I can't really investigate more 🤔. |
Hi @mtardy thanks, this command works:
However I think that problem still persists and needs to be addressed. So either Makefile should exclude compilation of |
Yes you can reopen but I don't understand how to reproduce your issue so I cannot really help you for now :( |
Maybe I can collect more info to help investigate it, just let me know what else needed. |
Can you reproduce this on a system I can quickly spin a VM in a cloud provider for example? |
Change in Dockerfile ENV BPFTOOL_REV "b01941c8f7890489f09713348a7d89567538504b" -> ENV BPFTOOL_REV "8485b9fba9b3bb3bd311b00632d2d22c0eee2e13" |
is it failing for you with the other REV? on which distrib are you running? |
yes, it is falling on the other Rev. I use fedora. |
@inliquid is it solved ? @mtardy please have a look at this too . I am also not able to build images in wsl2 given I graduated from cilium/cilium#29302 --
|
@sadath-12 no I'm still observing it with latest tetragon code (from the main branch). For WSL2 you would also probably need to compile |
I would try compiling the |
Hey @inliquid I could reproduce on 5.10, will try to fix this :) |
I have an idea in mind to avoid this issue in the future: maintain a bpftool docker image that I can reuse because we'll see issues like this happen in the future since bpftool depends on the kernel it runs regardless of Docker. |
|
Ok thanks! Let's see with the same kernel version.
I don't understand as this seems impossible as without This is what you can use to build Tetragon: docker build -t "cilium/tetragon:latest" --build-arg TETRAGON_VERSION=$(make version) |
I must have misunderstood, I meant that there wasn't any other parameter given to
|
What happened?
At some point I needed to build an image and it failed.
System is Mint 20.3 Una (based on Ubuntu 20.04 Focal).
Tetragon Version
Most recent code from main. I tried different tags, but all failed.
Kernel Version
Kubernetes Version
No response
Bugtool
No response
Relevant log output
The text was updated successfully, but these errors were encountered: