Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM --platform=amd64 calico/qemu-user-static:latest as qemu

FROM debian:bookworm-slim as bpftool-build
FROM ubuntu:22.04 as bpftool-build

ARG SOURCE_REPO=https://github.com/libbpf/bpftool.git
ARG SOURCE_REF=main
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all: image
###############################################################################
# Input parameters.
###############################################################################
DOCKER_PLATFORMS ?= linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
DOCKER_PLATFORMS ?= linux/amd64,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
VERSION ?= v7.5.0
IMAGE_ORG ?= calico
IMAGE ?= $(IMAGE_ORG)/bpftool:$(VERSION)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ make image-single-platform

To build for specific platforms, use the `DOCKER_PLATFORMS` variable:
```
make image DOCKER_PLATFORMS=linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
make image DOCKER_PLATFORMS=linux/amd64,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
```

To build/push the image:
```
make push
```
```