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: about 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T21:06:18.000Z (about 1 year ago)
- Last Synced: 2024-04-15T02:25:13.412Z (about 1 year ago)
- Topics: docker, docker-image, hugo, hugo-cli
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/michaelvaldron/hugo
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hugo Container Image
[](https://go.dev/doc/go1.24)
[](https://go.dev/doc/go1.23)
[](https://github.com/gohugoio/hugo/releases/latest)
[](https://github.com/michael-valdron/hugo-image/actions/workflows/docker-publish.yaml)
[![Docker Hub badge][dockerhub-badge]][dockerhub]
[](LICENSE)[dockerhub-badge]: https://img.shields.io/docker/pulls/michaelvaldron/hugo
[dockerhub]: https://hub.docker.com/r/michaelvaldron/hugoA 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.22 (support deprecated 2025-03-08)](build/go1.22)
- [Go 1.21 (support deprecated 2025-01-26)](build/go1.21)