Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

257
Views
¿Qué significa -j$(nproc) de docker?

En el archivo de plantilla de la ventana acoplable, algunos comandos deben ir seguidos de -j$(nproc). ¿Qué significa?

Por ejemplo: cuando php instala la biblioteca gd: docker-php-ext-install -j$(nproc) gd

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

No hay un "obligatorio" sobre -j , es opcional generar nproc [que es un comando para devolver la cantidad de procesadores] trabajos de compilación paralelos para compilar las extensiones. Simplemente se pasa para make la opción -j :

 -j [jobs], --jobs[=jobs] Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the last one is effective. If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.

Realmente docker-php-ext-install es solo un poco de bash moviendo la mano alrededor de make: https://github.com/docker-library/php/blob/master/docker-php-ext-install

TLDR: -j$(nproc) hacer que la compilación vaya rápido.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!