Update Package #38

Merged
meierj merged 34 commits from mueller/adis-handler-spi-update into develop 2021-05-27 13:48:12 +02:00
Showing only changes of commit 88ccaa7c40 - Show all commits

View File

@ -1,16 +1,18 @@
FROM ubuntu:latest FROM ubuntu:latest
# FROM alpine:latest
RUN apt-get update -y && apt-get upgrade -y RUN apt-get update && apt-get install -y cmake g++
RUN apt-get install -y cmake g++ # RUN apk add cmake make g++
COPY . /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY . .
RUN set -ex; \ RUN set -ex; \
rm -rf build-hosted; \ rm -rf build-hosted; \
mkdir build-hosted; \ mkdir build-hosted; \
cd build-hosted; \ cd build-hosted; \
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=host ..; cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=linux ..;
ENTRYPOINT ["cmake", "--build", "build-hosted"] ENTRYPOINT ["cmake", "--build", "build-linux"]
CMD ["-j"] CMD ["-j"]
# CMD ["bash"]