Error: failed to download modules: binary with name "go" not found
Lut99 opened this issue · 1 comments
I'm attempting to build a website with the hugo:0.93.2
image (I didn't make the website myself, I might add). As far as I understand it, I should be able to build the site using:
docker run --rm -it -v $(pwd):/src klakegg/hugo:0.93.2
Unfortunately, every time I run this, I get:
Error: failed to download modules: binary with name "go" not found
Total in 0 ms
I've also tried other images (hugo:0.93.2-apline
and hugo:0.93.2-debian
) to the same result.
I'd almost expect this to be some issue with my configuration, but I can't find anything online about missing go in Docker containers (which would be weird if it was system-dependent anyway).
Am I doing this wrong? Any help would be appreciated.
Lol, nevermind, I was supposed to use an ext
image... It was just me doing something wrong!
For clarity: using
docker run --rm -it -v $(pwd):/src klakegg/hugo:0.93.2-ext-ubuntu
fixed my problem.
Sorry for creating the issue needlessly...