Skip to content

A docker image for a Hugo + AsciiDoctor toolchain

Notifications You must be signed in to change notification settings

rainerh/hugo-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hugo-asciidoctor Docker image

A Hugo-AsciiDoctor toolchain based on Ubuntu.

Building the container

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.

Running the container

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

About

A docker image for a Hugo + AsciiDoctor toolchain

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 82.7%
  • Shell 17.3%