Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eduadiez committed May 30, 2022
1 parent 9deb7c2 commit 1cf16d7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ FROM ubuntu:21.10

WORKDIR /usr/src/app

RUN apt install -y build-essential libomp-dev cmake
RUN apt update && apt install -y build-essential libomp-dev cmake git libgmp3-dev

RUN git clone https://github.com/google/benchmark.git && \
cd benchmark && \
cmake -E make_directory "build" && \
cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ && \
cmake --build "build" --config Release && \
cmake --build "build" --config Release --target install

RUN git clone https://github.com/google/benchmark.git & \
cd benchmark & \
cmake -E make_directory "build" & \
cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ & \
cmake --build "build" --config Release
COPY . /usr/src/app

RUN make -j
Expand Down

0 comments on commit 1cf16d7

Please sign in to comment.