https://github.com/michael-valdron/hugo-image
A container image for using the Hugo CLI command.
https://github.com/michael-valdron/hugo-image
docker docker-image hugo hugo-cli
Last synced: 2 months ago
JSON representation
A container image for using the Hugo CLI command.
- Host: GitHub
- URL: https://github.com/michael-valdron/hugo-image
- Owner: michael-valdron
- License: apache-2.0
- Created: 2023-05-08T00:13:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-11T18:02:25.000Z (3 months ago)
- Last Synced: 2026-04-11T19:22:55.000Z (3 months ago)
- Topics: docker, docker-image, hugo, hugo-cli
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/michaelvaldron/hugo
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Hugo Container Image
[](https://go.dev/doc/go1.26)
[](https://go.dev/doc/go1.25)
[](https://github.com/gohugoio/hugo/releases/latest)
[](https://github.com/michael-valdron/hugo-image/actions/workflows/publish.yaml)
[![Docker Hub badge][dockerhub-badge]][dockerhub]
[](https://quay.io/repository/michaelvaldron/hugo)
[](LICENSE)
[dockerhub-badge]: https://img.shields.io/docker/pulls/michaelvaldron/hugo
[dockerhub]: https://hub.docker.com/r/michaelvaldron/hugo
A container image for using the Hugo CLI command.
## Usage
**Docker**
```sh
docker run --rm -it michaelvaldron/hugo
```
**Podman**
```sh
podman run --rm -it michaelvaldron/hugo
```
### Run Server
```sh
docker run --rm -it -v :/project -p 1313:1313 michaelvaldron/hugo hugo server
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
### Deprecated Go Version Support
Here is a list of Go versions that was past supported and can be manually built:
- [Go 1.24 (support deprecated 2026-02-18)](build/go1.24)
- [Go 1.23 (support deprecated 2025-09-02)](build/go1.23)
- [Go 1.22 (support deprecated 2025-03-08)](build/go1.22)
- [Go 1.21 (support deprecated 2025-01-26)](build/go1.21)