Another Update Package Yaaay #9

Merged
gaisser merged 21 commits from mueller/yet-another-update-package-nice into master 2021-05-25 14:55:42 +02:00
Showing only changes of commit 9462246861 - Show all commits

View File

@ -3,16 +3,27 @@ FROM gcc:11
RUN apt-get update
RUN apt-get install -y cmake
COPY . /usr/src/fsfw_example_public
WORKDIR /usr/src/fsfw_example_public
WORKDIR /usr/src
RUN mkdir build-linux; \
RUN git clone https://egit.irs.uni-stuttgart.de/fsfw/fsfw_example_public.git; \
cd fsfw_example_public; \
git submodule init; \
git submodule sync; \
git submodule update --init --recursive
# Set to exit on failed command and build FSFW example with Linux OSAL
RUN set -ex; \
cd fsfw_example_public; \
mkdir build-linux; \
cd build-linux; \
cmake -DOS_FSFW=linux ..; \
cmake --build . -j; \
cd ..
RUN mkdir build-hosted; \
# Set to exit on failed command and build FSFW example with Host OSAL
RUN set -ex; \
cd fsfw_example_public; \
mkdir build-hosted; \
cd build-hosted; \
cmake -DOS_FSFW=host ..; \
cmake --build . -j; \