Skip to content

Conversation

@shouze
Copy link
Contributor

@shouze shouze commented Aug 29, 2021

@mnapoli I'm confused, my last #1007 refactor was incorrect 😞

@mnapoli I'm confused, my last #1007 refactor was incorrect

# Run PHP-FPM
# opcache.validate_timestamps=1 : cancels the flag in the base configuration so that files are reloaded
CMD /opt/bin/php-fpm --nodaemonize --fpm-config /opt/bref/etc/php-fpm.conf -d opcache.validate_timestamps=1 --force-stderr
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was not the right place

@t-richard
Copy link
Member

I'm confused, my last #1007 refactor was incorrect 😞

Hey that's okay, you're doing great 💪 ❤️

@shouze
Copy link
Contributor Author

shouze commented Aug 29, 2021

I've already prepared extension's PR, we have a chance to get ready for first php 8.1 rc relase, september 2nd!
brefphp/extra-php-extensions#261

@shouze shouze mentioned this pull request Aug 29, 2021

FROM without_extensions

COPY --from=build_dev /opt /opt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a bit sad to copy php-fpm.conf twice, I just wonder if we cannot refine this one to:

Suggested change
COPY --from=build_dev /opt /opt
COPY --from=build_dev /opt/bref/lib/php/extensions/ /opt/bref/lib/php/extensions/

This would allow to remove the COPY instruction below, WDYT?

Copy link
Member

Choose a reason for hiding this comment

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

TBH I have no problem with a duplicate line or something that isn't 100% perfect for a temporary solution (when PHP 8.1 and xdebug support are here I guess this can be all simplified).

@mnapoli
Copy link
Member

mnapoli commented Aug 30, 2021

No problem @shouze, thanks for the follow up PR!

Should I merge (since you opened up a question inline)?

@shouze
Copy link
Contributor Author

shouze commented Aug 30, 2021

No problem @shouze, thanks for the follow up PR!

Should I merge (since you opened up a question inline)?

Ok so you can merge, sorry again for the previous mistake 🙏

@mnapoli mnapoli merged commit 1bcd6bc into brefphp:master Aug 30, 2021
@shouze shouze deleted the fix-bad-command-position-in-fpm-dev-dockerfile branch August 30, 2021 08:14
Nyholm pushed a commit to brefphp/extra-php-extensions that referenced this pull request Aug 30, 2021
* Adding php 81 for most extensions

Related to brefphp/bref#1007

Also related to brefphp/bref#1008, waiting for upfix to be merged

* Use 1.2.13 as base bref image

* Support xdebug master on PHP 8.1
phoenix933 pushed a commit to phoenix933/extra-php-extensions that referenced this pull request Dec 3, 2023
* Adding php 81 for most extensions

Related to brefphp/bref#1007

Also related to brefphp/bref#1008, waiting for upfix to be merged

* Use 1.2.13 as base bref image

* Support xdebug master on PHP 8.1
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.

3 participants