* Remove the secret key.
* Use the latest tag for postorius.
* Use the latest django-mailman3 that supports Python 3.
* Use minimum version on Django-mailman3.
* Fix import errors.
* Use old style middleware settings for Python 2.
* Make entrypoint python2 and 3 compatible.
* Fix python command to test for mysql server.
* Bettery docker-entrypoint to work with Python 2 & 3
* Add missing braces.
When running the mailman-web container with `UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static` (as suggested in https://github.com/maxking/docker-mailman#serving-static-files), the Browser receives the CSS files, but refuses to render them because of wrong MIME type (`text/plain`). Also, in the docker logs, a warning shows up that `/etc/mime.types` was not found.
According to the [Alpine package index](https://pkgs.alpinelinux.org/contents?branch=edge&name=mailcap&arch=armhf&repo=main), this file is part of the `mailcap` package. Installing it in the container makes Postorius stop looking ugly again!
* Update mailman-web to use Python 3
* Update configuration
* Python 3.6 image.
* Use alpine 3.7
* Use new style middleware
* Use alpine 3.6
* In Python 3, urlparse was renamed to urllib.parse
* Add code for auto-detecting database class for common cases.
* Fix unintentional space indentation instead of proper tab indentation
* Fix another left-over spaces indentation (sorry)
* Create rolling releases using the Gitlab API.
This commit builds rolling releases of Container images using the latest commit
on master branch if the pipeline passed for it. The script which gets the
references is still un-tested and should be tested.
The latest commit hashes are passed as arguments to the Dockerfile, which is
then used by PIP to install the specific version of the dependency.
Even though the 'master.lck' is supposed to prevent race conditions, it needs to
be manually removed if the container did not shutdown gracefully. Remove the
manual check for the lock file and force mailman to remove it.
Also, set the stop_grace_period to 30s, which would allow Core to stop
gracefully and not leave the lock file over. Default value in case of Docker is 10s.