Install dbconfig-no-thanks package #2059
Merged
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.
Description
The
opendmarc
package in Debian Buster includes an SQL schema to automatically create a MySQL database on installation. To do this, it has a dependency ondbconfig-mysql
package which is installed during the build. However, sincedocker-mailserver
does not actually have a MySQL server running, this results in the following errors during the build process:It is not critical because the errors are ignored, but they can be fixed completely by explicitly installing the alternative
dbconfig-no-thanks
package.As far as I can tell,
opendmarc
is not configured to use the database in anyway, so this change does not remove any functionality. But this way, sincedbconfig-mysql
does not pull its dependencies (mariadb-client-10.3
,mariadb-client-core-10.3
,mariadb-common
,mysql-common
), the resulting image is a little bit smaller:Type of change
Checklist:
docs/
)