Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit356bd51

Browse files
committed
Add --ignore-platform-reqs flag to Composer
When using composer, the image may not have the required php extensions or modules to install successfully, so you have to manually pass the --ignore-platform-reqs flag each time.Adding this to the entry point of the image means that you can just run docker-compose run composer without additional flags.This avoids adding caveats to the documentation and adds to the "it just works" utility of docker.
1 parent59bf8b2 commit356bd51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ services:
5757
-php
5858
networks:
5959
-laravel
60+
entrypoint:['composer', '--ignore-platform-reqs']# Install without other php modules required
6061

6162
npm:
6263
image:node:13.7

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp