1
protomask/.cargo/cross-images/bpfex-unknown-none.dockerfile

12 lines
296 B
Docker

# Cross image for building bpfel and bpfeb targets
FROM rust:latest
ARG TOOLCHAIN_CHANNEL
# Install the needed toolcahin components
RUN rustup install ${TOOLCHAIN_CHANNEL}
RUN rustup component add rust-src --toolchain ${TOOLCHAIN_CHANNEL}
# Install the BFP linker
RUN cargo install bpf-linker