Skip to content

[FIX] fix the base images

The following changes are being introduced in this PR:

  • The geoip-database-contrib package, used to download the geolite legacy databases, is causing this problem in the builds of the images used for odoo 9.0, 10.0, 11.0, and 12.0:
    image
    image

    This is because the geolite legacy databases are being discontinued, and the download urls are not working anymore. Since this package only downloads the databases and keeps them up-to-date using a cron, and all the affected images use the geolite2 databases, we are removing it from the affected images. Now the geolite2 databases will be downloaded manually from the official site, and since the crons are not executed in the images, we don't need the cron to keep them up-to-date, so the update will only be done each build.

    *Note: The version 8.0 still tries to use the legacy databases, but it installs a version of geoip-database-contrib (1.14) that doesn't raise an error when it fails to download them. This was not changed because I couldn't find a suitable replacement so it's very likely that geoip won't work in that version.

  • The support for TLS 1 in bitbucket has been disabled, so now this error occurs when building the 9.0 image:
    image
    So now we need to disable TLS in bitbucket's configuration file, since this file does not exist by default, we need to add it like this

Merge request reports