This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
fsfw_example_public/bsp_hosted/Dockerfile

19 lines
375 B
Docker
Raw Normal View History

2021-05-21 17:56:46 +02:00
FROM ubuntu:latest
2021-05-21 18:16:04 +02:00
# FROM alpine:latest
2021-05-21 19:31:05 +02:00
RUN apt-get update && apt-get install -y cmake g++
2021-05-21 17:56:46 +02:00
# RUN apk add cmake make g++
2021-05-20 20:53:59 +02:00
WORKDIR /usr/src/app
2021-05-21 17:08:52 +02:00
COPY . .
2021-05-20 23:30:57 +02:00
RUN set -ex; \
2021-05-21 13:57:15 +02:00
rm -rf build-hosted; \
2021-05-20 19:43:24 +02:00
mkdir build-hosted; \
cd build-hosted; \
2021-05-20 20:53:59 +02:00
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=host ..;
2021-05-20 23:07:55 +02:00
ENTRYPOINT ["cmake", "--build", "build-hosted"]
CMD ["-j"]
2021-05-21 19:31:05 +02:00
# CMD ["bash"]