We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be very nice to add an option on docker-php-ext-install command to set the number of cpu core to use.
docker-php-ext-install
That would be transmitted to the make command.
make
Ex: make -j5
make -j5
The text was updated successfully, but these errors were encountered:
For the others that want this feature, I found a little sed trick to put on your Dockerfile:
sed
Dockerfile
RUN sed -i 's/make$/make -j`nproc`/' /usr/local/bin/docker-php-ext-install && \ docker-php-ext-install \ zip \ pdo \ pdo_mysql \ intl \ gd \ pcntl \ bcmath \ shmop \ mbstring
I earn 45 seconds on my image build with -j8.
-j8
Sorry, something went wrong.
No branches or pull requests
Would be very nice to add an option on
docker-php-ext-install
command to set the number of cpu core to use.That would be transmitted to the
make
command.Ex:
make -j5
The text was updated successfully, but these errors were encountered: