This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
fsfw_example_public/Dockerfile

23 lines
393 B
Docker
Raw Normal View History

FROM gcc:11
RUN apt-get update
RUN apt-get install -y cmake
COPY . /usr/src/fsfw_example_public
WORKDIR /usr/src/fsfw_example_public
RUN mkdir build-linux; \
cd build-linux; \
cmake -DOS_FSFW=linux ..; \
cmake --build . -j; \
cd ..
RUN mkdir build-hosted; \
cd build-hosted; \
cmake -DOS_FSFW=host ..; \
cmake --build . -j; \
cd ..
ENTRYPOINT ["/bin/sh"]