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
* Bump to use Alpine 3.12 since 3.8 is now EOL.
* Manually install pip in all images.
* Rename all py- modules to py3- modules.
* Replace mysqldb with mysqlclient library for Mysql support in web.
* Update Postorius, Hyperkitty and django-mailman3.
Also, entrypoint script should compile i18n messages.
* Add git to postorius image.
* Also compile i18n messages in Postorius.
* Add GNU Gettext to the images.
* Do not compilemessages.
* Do not compilemessages.