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

17 lines
333 B
Docker
Raw Normal View History

FROM gcc:11
2021-05-20 20:53:59 +02:00
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y cmake
2021-05-20 20:53:59 +02:00
COPY . /usr/src/app
WORKDIR /usr/src/app
2021-05-20 20:53:59 +02:00
RUN rm -rf build-hosted
2021-05-20 19:43:24 +02:00
2021-05-20 20:53:59 +02:00
RUN set -ex; \
2021-05-20 19:43:24 +02:00
mkdir build-hosted; \
cd build-hosted; \
2021-05-20 20:53:59 +02:00
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=host ..;
2021-05-20 20:53:59 +02:00
ENTRYPOINT ["sh", "-c", "cmake --build build-hosted -j"]