From a886febfed97476992399ad9aa443c814f836222 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 21 May 2021 13:59:47 +0200 Subject: [PATCH] added hosted dockerfile --- bsp_hosted/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bsp_hosted/Dockerfile diff --git a/bsp_hosted/Dockerfile b/bsp_hosted/Dockerfile new file mode 100644 index 00000000..71caf9eb --- /dev/null +++ b/bsp_hosted/Dockerfile @@ -0,0 +1,16 @@ +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-hosted; \ + mkdir build-hosted; \ + cd build-hosted; \ + cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=host ..; + +ENTRYPOINT ["cmake", "--build", "build-hosted"] +CMD ["-j"]