This repository provides a Dockerfile used for the build stage of my Hugo blog using GitLab CI.
4.8K
This repository provides a Dockerfile used for the build stage of my Hugo blog using GitLab CI.
It is based off the work done over here: https://github.com/publysher/docker-hugo/, with some changes:
The container is built to include git, python and pip. Pygments for syntax colouring is installed via pip.
The hugo binary is downloaded from GitHub. I have noticed that the naming for the .tar.gz URLs and the binaries are sometimes the same and sometimes differ, so I have added ENV variables as best I can to accommodate.
Content type
Image
Digest
Size
36.5 MB
Last updated
over 6 years ago
docker pull dinofizz/hugo