Skip to content

Bpftool sync 2025-10-07 #231

Bpftool sync 2025-10-07

Bpftool sync 2025-10-07 #231

Workflow file for this run

name: docker
on:
pull_request:
paths:
- '.github/workflows/docker.yaml'
- 'Dockerfile'
- 'include/**'
- 'libbpf/**'
- 'src/**'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }}
cancel-in-progress: true
jobs:
dockerimage:
name: Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive
- name: Build bpftool container image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
push: false
tags: bpftool:latest
- name: Test bpftool container image
run: |
docker run --rm --privileged --pid=host bpftool version
docker run --rm --privileged --pid=host bpftool prog
docker run --rm --privileged --pid=host bpftool map
- name: Lint Docker image
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile