ARM-based docker images
oonid opened this issue ยท 7 comments
Hi! Thank you for the very updated docker images for Hugo.
Is there any plan to produce ARM-based docker images?
So, there is good and bad news regarding this.
First the bad news:
- Hugo extended edition is currently not available for other platforms than amd64.
- Pandoc is currently not available for other platforms than amd64.
- I build a lot of images for Hugo, and I'd prefer to make "the same" image for all architectures when enabling more architectures.
And to the good news:
- I'm working on the toolchain to make me able to build images for Hugo targeting multiple architectures.
- I hope to run Hugo on my Raspberry Pi 4 in 2020.
The current state is not optimal, however I expect this to change at some point. :)
It's a pity that pandoc and Hugo extended are not available outside amd64... Whenever you have news about ARM support, I'll be very please to test it. I want to use it in my Raspberry Pi's
Hugo extended for ARM64 MacOS has been released, and there are docs on how to build for linux arm64 and containers already built with SASS and pandoc yet not officially released @klakegg (see https://github.com/jakejarvis/hugo-docker)
I've pushed some new edge
images for Hugo standard edition with support for arm64 and arm/v7. I prefer to not build the software myself, however that may change.
The list of software not currently available:
- Hugo - extended edition (arm64)
- Hugo - extended edition (arm/v7)
- Pandoc (arm/v7)
- Embedded Dart Sass (arm64)
- Embedded Dart Sass (arm/v7)
The list may be longer, however this is what I'm currently watching out for.
I've decided to create a new project to provide additional ARM-based Hugo binaries. I still prefer to not compile Hugo myself, however the amd64 Docker image kills my Mac battery.
My rational for making this part happen in a separate project is to allow for transparancy and reuse outside of my intended use of creating Docker images. Additional Docker images are not yet available.
Support for arm64 is added for ext-debian
and ext-ubuntu
as of version 0.96.0.
Node for musl on arm64 doesn't look promising, and arm/v7 is clearly not a priority out there, so I close this issue for now.
Thank you for providing such images. However, it would be great to see this circumstance (no ext-alpine arm images) reflected in the readme.