added hosted dockerfile
This commit is contained in:
parent
08847e708a
commit
a886febfed
16
bsp_hosted/Dockerfile
Normal file
16
bsp_hosted/Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user