Repository navigation
chore(deps): update appwrite/utopia-base docker tag to v2 - #60
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Code review
The PHP 8.3 build now uses the Note Not approving while a bug finding is open: Avoid enabling MongoDB twice in the new base image Fix with agent prompt### Issue 1
php83.Dockerfile:14
**Avoid enabling MongoDB twice in the new base image**
The 2.1.8 base image already ships `mongodb.so` and enables it in `/usr/local/etc/php/conf.d/mongodb.ini`; the existing `RUN echo extension=mongodb.so ...` at line 42 appends a second load directive. PHP will emit a “Module 'mongodb' is already loaded” warning on each invocation in the resulting container.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Walkthrough (1)
Reviewed Tip Comment |
83be968 to
397f6fc
Compare
397f6fc to
f6ee887
Compare
| --no-plugins --no-scripts --prefer-dist | ||
|
|
||
| FROM appwrite/utopia-base:php-8.3-0.1.0 as compile | ||
| FROM appwrite/utopia-base:php-8.3-2.1.8@sha256:85dcc0eb0defa3c4996cc96fbf05ac191d857f805d20b3b541307547083ad8be as compile |
There was a problem hiding this comment.
Avoid enabling MongoDB twice in the new base image
The 2.1.8 base image already ships mongodb.so and enables it in /usr/local/etc/php/conf.d/mongodb.ini; the existing RUN echo extension=mongodb.so ... at line 42 appends a second load directive. PHP will emit a “Module 'mongodb' is already loaded” warning on each invocation in the resulting container.
Prompt To Fix With AI
This is a comment left during a code review.
Path: php83.Dockerfile
Line: 14
Comment:
**Avoid enabling MongoDB twice in the new base image**
The 2.1.8 base image already ships `mongodb.so` and enables it in `/usr/local/etc/php/conf.d/mongodb.ini`; the existing `RUN echo extension=mongodb.so ...` at line 42 appends a second load directive. PHP will emit a “Module 'mongodb' is already loaded” warning on each invocation in the resulting container.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · bug · Reply if this doesn't apply.

This PR contains the following updates:
php-8.3-0.1.0→php-8.3-2.1.8php-8.3-2.1.9Configuration
📅 Schedule: (UTC)
* * * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.