-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update example 'full' apache Dockerfile for Trixie #2471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Since upgrading the Apache image to the Debian Trixie release, the example of a "full" image is outdated. This updates it to work again. Notably, it requires installing the Sury Debian repo as the official repo no longer carries libc-client-dev.
| supervisor \ | ||
| lsb-release \ | ||
| ca-certificates \ | ||
| curl \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are not required as runtime dependencies. And already included in the base image anyway.
| \ | ||
| curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb; \ | ||
| dpkg -i /tmp/debsuryorg-archive-keyring.deb; \ | ||
| sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repo does not provide libc-client-dev.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just remove imap from the example then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then how would we get imap working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I think I see how https://stackoverflow.com/a/79444588
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More info php/pecl-mail-imap#3
Looks like Nextcloud will need to support a different imap extension like alpine-imap or https://github.com/barbushin/php-imap
|
it will be nice fix this documentation... for now trying your dockerfile gives me an error |
Since upgrading the Apache image to the Debian Trixie release, the
example of a "full" image is outdated. This updates it to work again.
Notably, it requires installing the Sury Debian repo as the official
repo no longer carries libc-client-dev.