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

18 lines
378 B
Docker
Raw Normal View History

2021-05-21 16:36:58 +02:00
FROM alpine:latest
2021-05-21 16:36:58 +02:00
# RUN apt-get update -y && apt-get upgrade -y
# RUN apt-get install -y cmake g++
RUN apk add cmake make g++
2021-05-20 20:53:59 +02:00
COPY . /usr/src/app
WORKDIR /usr/src/app
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"]