Skip to content

Commit

Permalink
Set number of make jobs using nproc
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogslomp committed Sep 5, 2024
1 parent 19666bb commit 410efc3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/almalinux
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN mkdir samba && \

WORKDIR /usr/local/src/samba
RUN ./configure && \
make -j 3 && \
make -j$(nproc) && \
make install

FROM base
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/debian
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN mkdir samba && \

WORKDIR /usr/local/src/samba
RUN ./configure && \
make -j 3 && \
make -j$(nproc) && \
make install

FROM base
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/rockylinux
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN mkdir samba && \

WORKDIR /usr/local/src/samba
RUN ./configure && \
make -j 3 && \
make -j$(nproc) && \
make install

FROM base
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN mkdir samba && \

WORKDIR /usr/local/src/samba
RUN ./configure && \
make -j 3 && \
make -j$(nproc) && \
make install

FROM base
Expand Down

0 comments on commit 410efc3

Please sign in to comment.