microsoft / microsoft/Oryx

oryx is running the composer install command by default

Open
#2,385 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

Description

While Doing the deployment via Azure WebApp’s Deployment Center its brings in a file oryx

Which enable PHP to run the composer.

Refer: https://github.com/microsoft/Oryx/blob/4644e4c8c565f5f2e187707cc55f9f560c41ce67/doc/runtimes/php.md?plain=1#L71

The PHP toolset will run when the following conditions are met:

composer.json file exists in the root of the repository.

Files with .php extension in root of repository or in any sub-directories.

Build
We have the composer.json file available in the root folder hence its running the below step

Run php composer.phar install --ignore-platform-reqs --no-interaction if composer file found

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with doc/runtimes/php.md, especially the PHP toolset conditions and composer command, then reproduce the deployment through Azure WebApp’s Deployment Center with a root composer.json. Done means the default behavior is clarified or corrected so composer install only runs under the intended conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.