A Hugo-AsciiDoctor toolchain based on Ubuntu.
docker build \ --build-arg VCS_REF=$(git rev-parse HEAD | cut -c1-10) \ --build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \ -t rhaix/hugo-asciidoctor \ .
or run the build.sh
shell script.
docker run --rm --name "hugo" -p 1313:1313 -P -v $(pwd):/hugo rhaix/hugo-asciidoctor
-
expose port 1313 on localhost
-
set container name to 'hugo'
-
mount current dir as hugo project root
-
remove container on shutdown