An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# Hugo Container Image

[![Go 1.24](https://img.shields.io/badge/1.24-blue?logo=go&labelColor=gray)](https://go.dev/doc/go1.24)
[![Go 1.23](https://img.shields.io/badge/1.23-blue?logo=go&labelColor=gray)](https://go.dev/doc/go1.23)
[![Hugo Latest](https://img.shields.io/badge/latest-cb4879?logo=hugo&labelColor=gray)](https://github.com/gohugoio/hugo/releases/latest)
[![dockerhub Publish CI](https://github.com/michael-valdron/hugo-image/actions/workflows/docker-publish.yaml/badge.svg)](https://github.com/michael-valdron/hugo-image/actions/workflows/docker-publish.yaml)
[![Docker Hub badge][dockerhub-badge]][dockerhub]
[![MIT](https://img.shields.io/badge/license-Apache--2.0-blue)](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.22 (support deprecated 2025-03-08)](build/go1.22)
- [Go 1.21 (support deprecated 2025-01-26)](build/go1.21)