The libldap package is not installed in the mailman-web:0.5 and
postorius images despite being listed as a dependency in the Dockerfile.
This issue arises because libldap 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 the web and postorius Dockerfiles. This ensures that libldap
remains installed in the final image, as it is now part of the runtime
dependencies.
Changes:
- Move libldap installation from .build-deps to .mailman-rundeps in
postorius/Dockerfile and postorius/Dockerfile.env;
- Move libldap installation from .build-deps to .mailman-rundeps in
web/Dockerfile and web/Dockerfile.env.
These changes are necessary to ensure that the libldap package is
available in the running containers, preventing runtime errors related
to missing LDAP dependencies.
Signed-off-by: Antonio Rocco <8lue@8lue.xyz>
* Update max supported Django versions
* Add dependency on python-openid
* Use the right dependency
* Also bump django version
* Add python-openid specifically to deps
* Add dependency on openid too
Before this commit, if docker-entrypoint or any file in mailman-web changed, the Docker build cache would not be used, so the install of dependencies would run again, uselessly
* Test dependabot for Dockerfiles.
* Also for github actions
* Update dependabot.yml
* Fix urls.py for new versions of Django
* Fix urls.py for postorius.
* Bump dependency on Postgresql.
* Bump dependency on Django
* Add dependency on tzdata.
We previously used the get_latest_ref.py script to fetch the
latest commit sha for each project that passed CI correctly. Although,
that has some challenges due to requiring Gitlab Auth token. It causes
issues with building PRs and we don't want to share the Gitlab token
with PR authors.
Instead, this commit removes the code and sha references and Instead
simply uses the primary master branch from each project to build the
rolling release container image.
* Make several changes in the release and CI setup.
- Remove .travis/ directory completely.
- Update deploy.py script to tag with major.minor version
and remove the v in the tag which it didn't before.
- Fix the CircleCI cron setup.
* Update config.yml
* Use buildkit if possible.
* Use machine executor which supports buildkit.
* Remove setup docker step
* Use newer image.
* Use buildkit syntax for caching pip dependencies.
This should significantly speed up the build process by not having
to build python wheels multiple times.
* Use plain output from buildkit
* Make deploy script work with Python 2.7
Also cache python deps across builds.
* Fix more python3 things
* Install dependency in python3
Add MAILMAN_WEB_SOCIAL_AUTH for social logins
The `MAILMAN_WEB_SOCIAL_AUTH` list contains a default set of social
login provides. This was previously included in `INSTALLED_APPS`.
Separating it to it's own list makes it easier to disable or otherwise
override which social login providers are enabled without the need to
modify `INSTALLED_APPS`.
Older installations where `INSTALLED_APPS` were overridden continues to
work. The `MAILMAN_WEB_SOCIAL_AUTH` is ignored for those and
`INSTALLED_APPS` is used as is.
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files