diff mbox series

docker: Switch to MariaDB for wider platform support

Message ID 20200613231912.59973-1-stewart@flamingspork.com
State Accepted
Commit 8abd63eb75617ffff14205376ca6283c8f5e0ba2
Headers show
Series docker: Switch to MariaDB for wider platform support | expand

Commit Message

Stewart Smith June 13, 2020, 11:19 p.m. UTC
MySQL docker images only have amd64 arch support
MariaDB images have amd64, arm64v8, and ppc64le

Signed-off-by: Stewart Smith <stewart@flamingspork.com>
---
 docker-compose.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Axtens June 15, 2020, 8:44 a.m. UTC | #1
Stewart Smith <stewart@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@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@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
Daniel Axtens July 8, 2020, 1:28 a.m. UTC | #2
Applied to master, thanks.

Regards,
Daniel

> MySQL docker images only have amd64 arch support
> MariaDB images have amd64, arm64v8, and ppc64le
>
> Signed-off-by: Stewart Smith <stewart@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@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
diff mbox series

Patch

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: