Docker container for building native images #4073
Draft
+135
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a Docker container setup for building native BPF drivers from ELF files. The changes include adding a Dockerfile, a build script, and a README file to guide users on how to use the container.
Key changes:
Docker setup:
scripts/build_native/Dockerfile
: Added a Dockerfile to set up a Windows Server Core 2022 environment with necessary build tools and SDKs for building native BPF drivers.Build script:
scripts/build_native/build.ps1
: Added a PowerShell script to wrap theConvert-BpfToNative.ps1
script, passing the correct parameters for converting ELF files to native BPF drivers.Documentation:
scripts/build_native/README.md
: Added a README file to provide instructions on building and using the Docker container for building native BPF drivers.Testing
TBD
Documentation
Yes.
Installation
No.