Every compile step now works with docker! See README

This commit is contained in:
Duesentrieb71
2024-03-21 21:57:53 +01:00
parent 6f6a331152
commit c6c9fd6926
3 changed files with 34 additions and 26 deletions

View File

@ -11,5 +11,5 @@ RUN apt-get update && apt-get install -y \
# Remove the package lists to reduce the image size
WORKDIR /project/
WORKDIR /fsbl/

View File

@ -6,10 +6,24 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
make \
cmake \
gcc \
curl \
gcc-arm-none-eabi \
doxygen \
graphviz \
&& rm -rf /var/lib/apt/lists/*
# Remove the package lists to reduce the image size
# Install Rustup and select the nightly toolchain
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly && \
. $HOME/.cargo/env
# Add the Rust toolchain binaries to PATH
ENV PATH="/root/.cargo/bin:${PATH}"
# Install the nightly Rust toolchain, the rust-src component, and set the override
RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
WORKDIR /obsw/
# ENV DOT_PATH=/usr/local/bin # Works without this in debian @paul