forked from ROMEO/obsw
Every compile step now works with docker! See README
This commit is contained in:
@ -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/
|
||||
|
||||
|
@ -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
|
Reference in New Issue
Block a user