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

https://github.com/leoliu0605/docker-hugo

Docker images for Hugo open-source static site generator.
https://github.com/leoliu0605/docker-hugo

action docker docker-hub docker-image dockerfile hugo hugo-docker pipline

Last synced: 2 months ago
JSON representation

Docker images for Hugo open-source static site generator.

Awesome Lists containing this project

README

          

[![hugo](https://github.com/leoli0605/docker-hugo/actions/workflows/publish.yml/badge.svg)](https://github.com/leoli0605/docker-hugo/actions/workflows/publish.yml)
[![Docker Pulls](https://img.shields.io/docker/pulls/jafee201153/hugo.svg)](https://hub.docker.com/r/jafee201153/hugo/)
[![Docker Stars](https://img.shields.io/docker/stars/jafee201153/hugo.svg)](https://hub.docker.com/r/jafee201153/hugo/)

# Hugo Docker Images

[![Hugo Logo](https://gohugo.io/images/hugo-logo-wide.svg)](https://github.com/gohugoio/hugo)

This Docker image contains the Hugo static site generator. We automatically build and publish Docker images for Hugo versions greater than `v0.115.4` using GitHub Actions.

## Features

- **Automated Builds**: Every day, our GitHub Actions workflow checks for new Hugo releases and builds Docker images for versions greater than `v0.115.4`.
- **Multi-Architecture Support**: We build images for multiple architectures including `linux/amd64`, `linux/arm64`, `linux/arm/v6`, and `linux/arm/v7`.
- **Extended Version**: Our images are built with the `extended` tag, providing SCSS/SASS support out of the box.

## Tags

- `v0.160.1`
- `0.160.1-ext-alpine`, `alpine`, `latest`
- `0.160.1-ext-debian`, `debian`

- `v0.160.0`
- `0.160.0-ext-alpine`
- `0.160.0-ext-debian`

- `v0.159.2`
- `0.159.2-ext-alpine`
- `0.159.2-ext-debian`

- `v0.159.1`
- `0.159.1-ext-alpine`
- `0.159.1-ext-debian`

- `v0.159.0`
- `0.159.0-ext-alpine`
- `0.159.0-ext-debian`

- `v0.158.0`
- `0.158.0-ext-alpine`
- `0.158.0-ext-debian`

- `v0.157.0`
- `0.157.0-ext-alpine`
- `0.157.0-ext-debian`

- `v0.156.0`
- `0.156.0-ext-alpine`
- `0.156.0-ext-debian`

- `v0.155.3`
- `0.155.3-ext-alpine`
- `0.155.3-ext-debian`

- `v0.155.2`
- `0.155.2-ext-alpine`
- `0.155.2-ext-debian`

- `v0.155.1`
- `0.155.1-ext-alpine`
- `0.155.1-ext-debian`

- `v0.155.0`
- `0.155.0-ext-alpine`
- `0.155.0-ext-debian`

- `v0.154.5`
- `0.154.5-ext-alpine`
- `0.154.5-ext-debian`

- `v0.154.4`
- `0.154.4-ext-alpine`
- `0.154.4-ext-debian`

- `v0.154.3`
- `0.154.3-ext-alpine`
- `0.154.3-ext-debian`

- `v0.154.2`
- `0.154.2-ext-alpine`
- `0.154.2-ext-debian`

- `v0.154.1`
- `0.154.1-ext-alpine`
- `0.154.1-ext-debian`

- `v0.154.0`
- `0.154.0-ext-alpine`
- `0.154.0-ext-debian`

- `v0.153.5`
- `0.153.5-ext-alpine`
- `0.153.5-ext-debian`

- `v0.153.4`
- `0.153.4-ext-alpine`
- `0.153.4-ext-debian`

- `v0.153.3`
- `0.153.3-ext-alpine`
- `0.153.3-ext-debian`

- `v0.153.2`
- `0.153.2-ext-alpine`
- `0.153.2-ext-debian`

- `v0.153.1`
- `0.153.1-ext-alpine`
- `0.153.1-ext-debian`

- `v0.153.0`
- `0.153.0-ext-alpine`
- `0.153.0-ext-debian`

- `v0.152.2`
- `0.152.2-ext-alpine`
- `0.152.2-ext-debian`

- `v0.152.1`
- `0.152.1-ext-alpine`
- `0.152.1-ext-debian`

- `v0.152.0`
- `0.152.0-ext-alpine`
- `0.152.0-ext-debian`

- `v0.151.2`
- `0.151.2-ext-alpine`
- `0.151.2-ext-debian`

- `v0.151.1`
- `0.151.1-ext-alpine`
- `0.151.1-ext-debian`

- `v0.151.0`
- `0.151.0-ext-alpine`
- `0.151.0-ext-debian`

## Usage

To use the latest version of Hugo:

```
docker run --rm -it -v $(pwd):/src -p 1313:1313 jafee201153/hugo:latest
```

To use a specific version of Hugo:

```
docker run --rm -it -v $(pwd):/src -p 1313:1313 jafee201153/hugo:DESIRED_VERSION
```

Replace `DESIRED_VERSION` with the version of Hugo you want to use.

## Support

If you encounter any issues or have suggestions, please [open an issue](https://github.com/leoli0605/docker-hugo/issues) on our GitHub repository.