Sign inSign up

patwhite/docker-hugo-npm

By patwhite

•Updated over 7 years ago

Image
0

89

patwhite/docker-hugo-npm repository overview

[PW] Added to support newer version of hugo.

Docker image derived from Alpine Linux that includes npm, Pygments and Hugo. Enables building Hugo-based static sites that may include npm as part of the workflow (scss, minification, etc). Usable with Bitbucket Pipelines and other automated deployment tools that support Docker.

The latest image is available at https://hub.docker.com/r/bpack/hugo-npm/⁠ or simply execute docker pull bpack/hugo-npm.

  • make build - Builds the docker image.
  • make push - Publish the image.
  • make shell - Run a shell in the image.
  • make rmi - Force remove the image locally.

The default version of 'latest' for the image can be overridden for the purposes of tagging by specifying make VERSION=x.x.x build. The same would need to be done for the push target to upload the image.

Details on how I use this image can be found at https://www.benjaminpack.com/blog/hugo-site-automation⁠.

Tag summary

Content type

Image

Digest

Size

34.3 MB

Last updated

over 7 years ago

docker pull patwhite/docker-hugo-npm