Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-asciidoc

Run asciidoc without installing asciidoc.

How To Run from Docker Hub

The fstab/asciidoc image contains a Ubuntu Linux operating system with asciidoc installed.

Example: If you want to convert a manpage document ~/my-file.txt into a Unix manpage using asciidoc's a2x command, you can run

   docker run -v ~:/home/asciidoc/work/ -t fstab/asciidoc a2x --doctype manpage --format manpage my-file.txt

This will pull the image from docker hub, start the container, and run a2x within the container.

How To Build from Source

  1. Clone fstab/docker-asciidoc from GitHub.

    git clone https://github.com/fstab/docker-asciidoc.git
    
  2. Build the docker image

    cd docker-asciidoc
    docker build -t="fstab/asciidoc" .
    
  3. Run with the same command as described above.

    docker run -v ~:/home/asciidoc/work/ -t fstab/asciidoc a2x --doctype manpage --format manpage my-file.txt
    
Docker Pull Command
Owner
fstab
Source Repository