rochdev / docker-alpine-asciidoctor Goto Github PK
View Code? Open in Web Editor NEWA simpler version of the Asciidoctor Docker Container based on Alpine.
License: MIT License
A simpler version of the Asciidoctor Docker Container based on Alpine.
License: MIT License
I like those images, so awesome, thanks!
I would like to see any of the well-known free licenses for this repository, so one can fork it without worrying.
nwdiag for asciidoctor-diagram failed in the normal version of the container with following error:
asciidoctor-diagram: ERROR: Failed to generate image: nwdiag failed: Traceback (most recent call last):
File "/usr/bin/nwdiag", line 7, in <module>
from nwdiag.command import main
File "/usr/lib/python2.7/site-packages/nwdiag/command.py", line 18, in <module>
import nwdiag.builder
File "/usr/lib/python2.7/site-packages/nwdiag/builder.py", line 18, in <module>
from nwdiag.elements import (Diagram, DiagramNode, DiagramEdge,
File "/usr/lib/python2.7/site-packages/nwdiag/elements.py", line 17, in <module>
import blockdiag.elements
File "/usr/lib/python2.7/site-packages/blockdiag/elements.py", line 22, in <module>
from blockdiag import noderenderer, plugins
File "/usr/lib/python2.7/site-packages/blockdiag/noderenderer/__init__.py", line 17, in <module>
import pkg_resources
ImportError: No module named pkg_resources
Hello,
first of all: Thanks for providing those images. I think they are very good suited for converting AsciiDoc files via CI.
I noticed that the images are a year old. It would be nice if they were updated with the latest version of Asciidoctor, since it has made some progress in that time.
I wrote a simple AsciiDoc document containing a plantuml diagram, but when I try to render it an exception is thrown:
$ docker run -it --rm -v ${PWD}:/documents rochdev/alpine-asciidoctor asciidoctor -r asciidoctor-diagram documentation.adoc
java.io.IOException: Cannot run program "/usr/bin/dot": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at net.sourceforge.plantuml.cucadiagram.dot.ProcessRunner$MainThread.startThreads(ProcessRunner.java:158)
at net.sourceforge.plantuml.cucadiagram.dot.ProcessRunner$MainThread.runJob(ProcessRunner.java:118)
at net.sourceforge.plantuml.api.TimeoutExecutor$MyThread.run(TimeoutExecutor.java:74)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more
It looks like something is missing, maybe graphviz is not fully installed. It works fine with ditaa diagram.
Thank you.
Lorenzo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.