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_linux/Dockerfile

18 lines
364 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
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-linux; \
2021-05-20 23:30:57 +02:00
mkdir build-linux; \
cd build-linux; \
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=linux ..;
2021-05-20 23:30:57 +02:00
ENTRYPOINT ["cmake", "--build", "build-linux"]
2021-05-20 23:07:55 +02:00
CMD ["-j"]