Sign inSign up

bl4n/hugo-extended

By bl4n

•Updated about 2 months ago

Official Hugo image with some packages (git, openssh, rsync) and an entrypoint to compile files.

Image
Content management system
0

1.2K

bl4n/hugo-extended repository overview

From https://gitlab.com/blankoworld/hugo-extended⁠

Uses Hugo static weblog engine to compile a given Git repository (containing a Hugo weblog project).

What it does:

  • Fetch a given Git repository (even if submodule exists in)
  • Compile with Hugo
  • Use rsync to move files into the mounted directory (destination)
  • Change file permissions in this directory.

This permits to have a Git repository from another place than where CI/CD runs.

Based on Github official Hugo images⁠.

Usage:

docker run -it --rm -e DEPOT="[email protected]:blankoworld/blog.git" -e UTILISATEUR=`id -u` -e GROUPE=`id -g` -v ${PWD}/public:/dest -v ~/.ssh/id_ed25519:/root/.ssh/id_ed25519 bl4n/hugo-extended:latest compile

Tag summary

Content type

Image

Digest

sha256:a98741601…

Size

136.9 MB

Last updated

about 2 months ago

docker pull bl4n/hugo-extended