From cb95e3224e1f19dd454f4864e024bee5141ea6da Mon Sep 17 00:00:00 2001 From: Pawel Palucki Date: Tue, 28 May 2024 08:53:55 -0100 Subject: [PATCH] parallel build (make -j) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c9f8e084..2480e704 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/