Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clamav-docker/clamav/1.1/alpine/Dockerfile Code BUG #21

Open
easy1481437320 opened this issue Jul 4, 2023 · 1 comment
Open

clamav-docker/clamav/1.1/alpine/Dockerfile Code BUG #21

easy1481437320 opened this issue Jul 4, 2023 · 1 comment
Assignees

Comments

@easy1481437320
Copy link

image
###my machine only have 1 Number of kernel threads  cause i cannot build the image
[root@hello ~]$ nproc
1
###
@rsundriyal rsundriyal self-assigned this Feb 2, 2024
@jogerj
Copy link

jogerj commented Mar 27, 2024

we can cap a minimum of 1 thread

make DESTDIR="/clamav" -j$(($(nproc) > 1 ? $(nproc) - 1 : 1)) && \
# ...

nproc seems to be used elsewhere too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants