[web, postorius] Fix libldap installation package group #704
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The libldap package is not installed in the
mailman-web:0.5
andpostorius
images despite being listed as a dependency in theDockerfile
. This issue arises becauselibldap
is included in the.build-deps
virtual package group, which is removed at the end of the build process, causing the package to be uninstalled.This commit addresses the issue by moving
libldap
from the.build-deps
virtual package group to the.mailman-rundeps
virtual package group in both theweb
andpostorius
-Dockerfiles
. This ensures thatlibldap
remains installed in the final image, as it is now part of the runtime dependencies.Changes:
libldap
installation from.build-deps
to.mailman-rundeps
inpostorius/Dockerfile
;libldap
installation from.build-deps
to.mailman-rundeps
inweb/Dockerfile
.These changes are necessary to ensure that the
libldap
package is available in the running containers, preventing runtime errors related to missing LDAP dependencies.Comments
Closes #703