mkdocs-material icon indicating copy to clipboard operation
mkdocs-material copied to clipboard

feat: multi platform docker image

Open caarlos0 opened this issue 3 years ago • 3 comments

The original image is really slow on m1 macs, for example.

This will build for arm64 as well, which should improve things.

You can test it: https://hub.docker.com/r/caarlos0/material-mkdocs/tags

caarlos0 avatar Aug 11 '22 13:08 caarlos0

Thanks for the PR! Please see the reasons in #3034 why I'm currently not considering merging it. A third-party image is already provided via https://github.com/afritzler/mkdocs-material. I'll reconsider as soon as I'm on M1 myself, but for the time being, I have no way to test this image, so I need to rely on a third party.

squidfunk avatar Aug 12 '22 09:08 squidfunk

fwiw You should be able to test the image on an intel mac/linux with something like:

docker run --platform linux/arm64 image

caarlos0 avatar Aug 12 '22 12:08 caarlos0

Thanks. Okay, let me check again.

squidfunk avatar Aug 12 '22 13:08 squidfunk