Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 733 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 733 Bytes

hugo-asciidoc

HUGO Docker Image with AsciiDoc support.

Docker image

The Docker image is available on Docker Hub, and it is built from the Dockerfile in this repository.

It was built for amd64 and arm64 architectures:

docker buildx build --platform linux/amd64,linux/arm64 --build-arg HUGO_VERSION=0.124.1 -t fjahijado/hugo:0.124.1 --push . 

Usage

You can use this image to build your Hugo site with AsciiDoc support. For example:

docker run --rm -v $(pwd):/hugo-project -v $(pwd)/docs:/docs fjahijado/hugo:${HUGO_VERSION} hugo --gc --minify --baseURL "<baseUrl>" --destination /docs --theme <theme>