Skip to content

Commit

Permalink
source devtoolset-7
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzsarun committed Sep 25, 2023
1 parent ad19006 commit 33408fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ RUN pip3 install pytest

COPY . .

RUN mkdir -p build && \
RUN if [[ $(echo $IMAGE | cut -d ":" -f 2) = "7" ]]; then \
source /opt/rh/devtoolset-7/enable; \
fi && mkdir -p build && \
cd build && \
cmake .. -DBUILD_TEST=true && \
cmake3 .. -DBUILD_TEST=true && \
make && \
make install

0 comments on commit 33408fc

Please sign in to comment.