added hosted dockerfile

This commit is contained in:
Robin Müller 2021-05-21 13:59:47 +02:00 committed by Robin Mueller
parent 08847e708a
commit a886febfed

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