This is a source-to-image builder image for producing blogs using Hugo
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
s2i
Dockerfile
README.md

README.md

sti-hugo

This is an source builder image for Hugo - a fast and modern static web site generator.

What is "source builder"?

This image is compatible with the Source-to-Image project used by OpenShift Origin. This allows to build the Hugo website, to verify there is no typo in configuration and then run the final blog using Hugo web server.

How it works?

  • Create new Github repository and push your Hugo site to this repo
  • Install s2i tool (see the link above)
  • Build: $ s2i build https://github.com/<org>/<hugo-repo> mfojtik/hugo hugo-blog
  • Run: $ docker run hugo-blog

How to use it with OpenShift?

Run:

$ oc new-app mfojtik/hugo~http://github.com/<org>/<hugo-repo>