Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 645 Bytes

File metadata and controls

28 lines (15 loc) · 645 Bytes

hugo-server-docker

A Docker Image for Hugo Server.

Build Image

$ 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

Publish Image

$ auto/publish

Prompts for docker login and publishes the image to Dockerhub.