HUGO Docker Image with AsciiDoc support.
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 .
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>