This repository has been archived on 2021-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
fsfw_example_public/bsp_linux/Dockerfile
T
2021-05-21 13:57:15 +02:00

17 lines
344 B
Docker

FROM ubuntu:latest
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y cmake g++
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN set -ex; \
rm -rf build-linux; \
mkdir build-linux; \
cd build-linux; \
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=linux ..;
ENTRYPOINT ["cmake", "--build", "build-linux"]
CMD ["-j"]