[PATCH] docker: Switch to MariaDB for wider platform support

Daniel Axtens dja at axtens.net
Mon Jun 15 18:44:41 AEST 2020


Stewart Smith <stewart at flamingspork.com> writes:

> MySQL docker images only have amd64 arch support
> MariaDB images have amd64, arm64v8, and ppc64le
>

This seems like a good idea.

For fun I tried to extend cross-platform support to travis as well,
seeing as they now support arm64, amd64, ppc64le and s390x.

It did not go well:
https://travis-ci.org/github/daxtens/patchwork/builds/698412262

It looks like the cross-platform images don't have postgres 9.6.

I will look into it at some point, unless anyone feel like taking a stab
sooner.

 -- d


> Signed-off-by: Stewart Smith <stewart at flamingspork.com>
> ---
>  docker-compose.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docker-compose.yml b/docker-compose.yml
> index 1762d4a..1d49c51 100644
> --- a/docker-compose.yml
> +++ b/docker-compose.yml
> @@ -1,7 +1,7 @@
>  version: "3"
>  services:
>    db:
> -    image: mysql:5.7
> +    image: mariadb:10.4
>      volumes:
>        - ./tools/docker/db/data:/var/lib/mysql
>      environment:
> -- 
> 2.26.2
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork


More information about the Patchwork mailing list