I’ve created and maintain several websites that are statically-generated with Hugo (including the one you’re reading right now). I build and test these sites with CircleCI. With CircleCI 2.0, the build process is heavily Docker based. I made a Docker image for use with CircleCI that has Hugo to build the site and HTMLProofer to test it.
I visit this forum frequently so feel free to comment on my blog or here, I’ll see either.
One note from me, I’ve seen several Docker images for Hugo now. One things I can say for mine which I haven’t always seen for the others is that this will be maintained. I don’t really have a choice as I use it for several sites.
Also created a little logo and shared on Product Hunt. Any feedback would be greatly appreciated, especially if you use Hugo on Travis CI as I’ve only tested this image on CircleCI so far.
Thank you again for making the Hugo docker image. I really like working with the image, and the included html-proofer works good too! Also props to CircleCI because it’s pretty cool what’s possible with their service, even with their generous free plan.
No I think this was a good request. Go is now needed to fully support Hugo.
The image has been updated. You can see the PR here. The next release of Hugo, whatever that may be, will include Go in the image.
If you want to use an image with Go in it right now, you can use cibuilds/hugo:edge. I would suggest using this as a temporary tag until the next release comes out.