Skip to content

Conversation

@willwang-openai
Copy link
Collaborator

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0b832eba15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Dockerfile Outdated
Comment on lines 299 to 300
phpenv rehash \
phpenv global ${PHP_VERSIONS%% *}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Separate phpenv commands to avoid build failure

In this bash -lc block, phpenv rehash is immediately followed by phpenv global ... without && or ;, so the line continuation concatenates them into a single command (phpenv rehash phpenv global ...). That causes phpenv rehash to receive unexpected arguments and fail during the Docker build, preventing the image from building. Add a command separator between these two lines.

Useful? React with 👍 / 👎.

@willwang-openai willwang-openai force-pushed the use-phpenv branch 2 times, most recently from e9af4e2 to f8706d3 Compare January 9, 2026 23:26
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f8706d3311

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +298 to +299
for v in $PHP_VERSIONS; do \
phpenv install -s "${v}snapshot"; \
done && \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Fail build when any PHP version install fails

In the PHP install block, the for loop runs phpenv install -s "${v}snapshot" without set -e or per-iteration error handling, so if an early version fails to build (e.g., a snapshot missing for an architecture), the loop can still exit 0 as long as the last install succeeds (Dockerfile:298-300). That leaves the image missing one of the requested PHP versions and will later break phpenv global or user selection for that version without an obvious build failure. Consider adding set -e inside the bash -lc script or phpenv install ... || exit 1 to fail fast.

Useful? React with 👍 / 👎.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 70ac57b03a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +296 to +299
eval "$(phpenv init -)" && \
for v in $PHP_VERSIONS; do \
phpenv install -s "${v}snapshot"; \
done && \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Ensure Composer is installed with the phpenv build

The switch from mise install php@… to phpenv install … removes any explicit Composer installation. phpenv/php-build only compiles PHP, so unless Composer is installed separately, composer --version in verify.sh will fail and the image build breaks (and users lose Composer at runtime). If Composer isn’t provided elsewhere in the image, add an explicit Composer install step (e.g., download the PHAR to /usr/local/bin) or ensure php-build installs it.

Useful? React with 👍 / 👎.

@willwang-openai willwang-openai merged commit 68378ea into openai:main Jan 10, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant