A Docker Image for Hugo Server.
$ auto/build
Builds an image with Hugo v0.16.
To create an image with a different version replace in the build script:
HUGO_VERSION
DOWNLOAD_FILE_NAME
These are the available versions.
Hugo creators started using upper case for the OS in the downloadable file after version 0.17
To change the image name, modify (defaults to pamrucinque/hugo
):
IMAGE_TAG
$ DOCKER_USER=${USERNAME} DOCKER_PASSWORD=${PASSWORD} auto/publish
Publishes the image to Dockerhub.