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

19 lines
372 B
Docker
Raw Permalink 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-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"]
2021-05-21 19:31:05 +02:00
# CMD ["bash"]