mirror of
https://github.com/xzcrpw/blackwall.git
synced 2026-04-24 11:56:21 +02:00
v2.0.0: adaptive eBPF firewall with AI honeypot and P2P threat mesh
This commit is contained in:
commit
37c6bbf5a1
133 changed files with 28073 additions and 0 deletions
16
deploy/docker/Dockerfile.ebpf
Executable file
16
deploy/docker/Dockerfile.ebpf
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
# Blackwall eBPF programs — init container
|
||||
# Builds the BPF object file with nightly + bpfel target
|
||||
FROM rust:1.87-bookworm AS builder
|
||||
RUN rustup toolchain install nightly \
|
||||
&& rustup component add rust-src --toolchain nightly
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN cd blackwall-ebpf && \
|
||||
cargo +nightly build \
|
||||
--target bpfel-unknown-none \
|
||||
-Z build-std=core \
|
||||
--release
|
||||
|
||||
# Stage 2: Tiny image with just the BPF binary
|
||||
FROM busybox:1.37
|
||||
COPY --from=builder /build/target/bpfel-unknown-none/release/blackwall-ebpf /opt/blackwall/blackwall-ebpf
|
||||
Loading…
Add table
Add a link
Reference in a new issue