Files
obsw/Dockerfile
2023-12-19 17:31:54 +01:00

38 lines
824 B
Docker

FROM docker.io/debian:trixie-slim
LABEL Description="Build environment"
SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get -y --no-install-recommends install \
build-essential \
gdb-arm-none-eabi \
cmake \
gdb \
wget \
git \
rustup \
# Let us add some heavy dependency
RUN cd ${HOME} && \
cargo update \
rustup toolchain install nightly \
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu \
rustup override set default nightly \
cargo build -Z build-std
# Prepare Bootloader
RUN git clone https://github.com/Xilinx/embeddedsw/ \
cd lib/sw_apps/zynq_fsbl/src/ \
make BOARD=zed CFLAGS=-DFSBL_DEBUG_INFO
# RUN?
# mkdir build_cli
# cd build_cli
# cmake -DCMAKE_TOOLCHAIN_FILE=../bsp_z7/cmake/arm-none-eabi.toolchain ..
# make -j 4