2021-05-24 12:43:22 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
# FROM alpine:latest
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cmake g++
|
2021-05-24 14:13:47 +02:00
|
|
|
|
|
|
|
RUN wget https://eive-cloud.irs.uni-stuttgart.de/index.php/s/aBjpbMAFCEP7prF/download/cortexa9hf-neon-xiphos-linux-gnueabi.tar.gz /usr/rootfs
|
|
|
|
RUN wget https://eive-cloud.irs.uni-stuttgart.de/index.php/s/5bDHLF4spqn2zJT/download/gcc-arm-linux-gnueabi.tar.gz usr/tools
|
|
|
|
|
2021-05-24 12:43:22 +02:00
|
|
|
# RUN apk add cmake make g++
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN set -ex; \
|
|
|
|
rm -rf build-hosted; \
|
|
|
|
mkdir build-hosted; \
|
|
|
|
cd build-hosted; \
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=linux ..;
|
|
|
|
|
2021-05-24 14:13:47 +02:00
|
|
|
# ENTRYPOINT ["cmake", "--build", "build-hosted"]
|
|
|
|
# CMD ["-j"]
|
|
|
|
CMD ["bash"]
|