You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue on building the docker images.
<simonb@odin:~/src/tetragon>
zsh/2 848 (git)-[main]-% make image
docker build -t "cilium/tetragon:latest" --target release --build-arg TETRAGON_VERSION=659704f9 --platform=linux/amd64 .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 191.9MB
Step 1/39 : FROM --platform=$BUILDPLATFORM quay.io/cilium/clang:aeaada5cf60efe8d0e772d032fe3cc2bc613739c@sha256:b440ae7b3591a80ffef8120b2ac99e802bbd31dee10f5f15a48566832ae0866f AS bpf-builder
failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument
make: *** [Makefile:172: image] Error 1
I've got a bit of a handcranked linux install, with docker-ce installed and running from a standalone binary. The solution to get it to build was to install the buildx cli plugin. I'm guessing this may come as part of the full docker desktop installations.
Download buildx from https://github.com/docker/buildx/releases
mv the buildx binary to ~/.docker/cli-plugins/docker-buildx
Check install with:
docker buildx version
This then allows the build to continue, as it now utilises the buildx cli plugin.
This might be helpful for others in case they encounter the same.
The text was updated successfully, but these errors were encountered:
I ran into an issue on building the docker images.
I've got a bit of a handcranked linux install, with docker-ce installed and running from a standalone binary. The solution to get it to build was to install the buildx cli plugin. I'm guessing this may come as part of the full docker desktop installations.
This then allows the build to continue, as it now utilises the buildx cli plugin.
This might be helpful for others in case they encounter the same.
The text was updated successfully, but these errors were encountered: