Skip to content

Commit

Permalink
for local builds from a Dockerfile, check and delete if src/build fol…
Browse files Browse the repository at this point in the history
…der exists
  • Loading branch information
ofrei committed May 21, 2024
1 parent bc0fb6f commit 974ee7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ RUN cd boost_1_69_0 && ./bootstrap.sh --with-libraries=program_options,filesyste
WORKDIR /tools/mixer
COPY /src /tools/mixer/src
COPY /precimed /tools/mixer/precimed
RUN if [ -d "/tools/mixer/src/build" ]; then rm -Rf /tools/mixer/src/build; fi
RUN mkdir src/build && cd src/build && cmake .. -DBoost_NO_BOOST_CMAKE=ON -DBOOST_ROOT=/tools/boost_1_69_0 && make -j16 bgmg
ENV BGMG_SHARED_LIBRARY="/tools/mixer/src/build/lib/libbgmg.so"

0 comments on commit 974ee7d

Please sign in to comment.