one run command now

This commit is contained in:
Robin Müller 2021-05-21 13:57:15 +02:00
parent f6d4e2141e
commit ff5f3b2aae
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 2 additions and 4 deletions

View File

@ -6,9 +6,8 @@ RUN apt-get install -y cmake g++
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN rm -rf build-hosted
RUN set -ex; \
rm -rf build-hosted; \
mkdir build-hosted; \
cd build-hosted; \
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=host ..;

View File

@ -6,9 +6,8 @@ RUN apt-get install -y cmake g++
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN rm -rf build-linux
RUN set -ex; \
rm -rf build-linux; \
mkdir build-linux; \
cd build-linux; \
cmake -DCMAKE_BUILD_TYPE=Release -DOS_FSFW=linux ..;