Commit 22b2cbe9 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

docker: use all available cores during build of docker image

Former-commit-id: 4c040b4e
parent 1278648d
...@@ -7,7 +7,7 @@ RUN rm -rf /dpsim/build && mkdir /dpsim/build ...@@ -7,7 +7,7 @@ RUN rm -rf /dpsim/build && mkdir /dpsim/build
WORKDIR /dpsim/build WORKDIR /dpsim/build
RUN cmake -DBUILD_EXAMPLES=OFF -DCPACK_GENERATOR=RPM .. RUN cmake -DBUILD_EXAMPLES=OFF -DCPACK_GENERATOR=RPM ..
RUN make -j2 package RUN make -j$(nproc) package
FROM fedora:28 FROM fedora:28
...@@ -29,4 +29,4 @@ RUN dnf -y install /tmp/*.rpm ...@@ -29,4 +29,4 @@ RUN dnf -y install /tmp/*.rpm
ADD requirements.txt . ADD requirements.txt .
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
CMD python3 CMD python3
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment