added hosted dockerfile

This commit is contained in:
Robin Müller 2021-05-21 13:59:47 +02:00
parent c679a2a755
commit 06e4147c77
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

16
bsp_hosted/Dockerfile Normal file
View File

@ -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"]