Sign inSign up
hugo logo

dockette/hugo

Sponsored OSS

By dockette

•Updated about 9 hours ago

🐳 Hugo static site generator

Image
Languages & frameworks
Integration & delivery
Web servers
1

9.9K

dockette/hugo repository overview

⁠Hugo

GitHub Actions Docker Hub pulls GitHub Sponsors Support/Discussions

The Hugo⁠ static site generator. Take a look at the official documentation⁠.

⁠Features

  • Hugo extended 0.169.0 on Alpine 3.22
  • Entrypoint is hugo, the working directory is /srv
  • linux/amd64 and linux/arm64

⁠Usage

# Show help
docker run -it --rm dockette/hugo help new

# Start the embedded server
docker run -it --rm -p 1313:1313 -v $(pwd):/srv dockette/hugo server --bind 0.0.0.0 --baseURL http://localhost:1313 -D -v

# Build the site
docker run -it --rm -v $(pwd):/srv dockette/hugo

⁠Versions

VersionRelease
dockette/hugo:0.169.0-YYYY.MM.DDrelease YYYY.MM.DD
dockette/hugo:0.169.0latest release
dockette/hugo:YYYY.MM.DDrelease YYYY.MM.DD
dockette/hugo:latestlatest build of master

All versions ship Hugo 0.169.0, pinned by HUGO_VERSION in VERSION. Releases are listed on GitHub⁠.

⁠Development

make build          # build the image
make test           # run hugo version in the image
make run            # serve the site in SITE_DIR (default is the current directory) on port 1313
make version        # print VERSION
make release        # set today's date in VERSION

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

sha256:6bb2157f6…

Size

31.8 MB

Last updated

about 9 hours ago

docker pull dockette/hugo

This week's pulls

Pulls:

98

Nov 2 to Nov 8