nproc
Print the number of processing units (normally CPUs) available. More information: <https://www.gnu.org/software/coreutils/nproc>.
RUN apt-get update && \
apt-get install -y coreutils
RUN apt-get update && \
apt-get install -y coreutils
RUN apk add coreutils
RUN pacman -S --noconfirm coreutils
RUN apt-get update && \
apt-get install -y coreutils
RUN yum install -y coreutils
RUN dnf install -y coreutils
RUN apt-get update && \
apt-get install -y coreutils