Skip to content

Commit

Permalink
parallel build (make -j)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalucki committed May 28, 2024
1 parent fe377c0 commit f3a5672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM fedora:40@sha256:4e007f288dce23966216be81ef62ba05d139b9338f327c1d1c73b7167d

RUN dnf -y install gcc-c++ git findutils make cmake
COPY . /tmp/pcm
RUN cd /tmp/pcm && mkdir build && cd build && cmake .. && make
RUN cd /tmp/pcm && mkdir build && cd build && cmake .. && make -j

FROM fedora:40@sha256:4e007f288dce23966216be81ef62ba05d139b9338f327c1d1c73b7167dd47312
COPY --from=builder /tmp/pcm/build/bin/* /usr/local/bin/
Expand Down

0 comments on commit f3a5672

Please sign in to comment.