Skip to content

pameck/hugo-server-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

$ DOCKER_USER=${USERNAME} DOCKER_PASSWORD=${PASSWORD} auto/publish

Publishes the image to Dockerhub.

About

Docker Image for [Hugo](https://gohugo.io/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages