-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing "pandoc: sh: openBinaryFile: does not exist (No such file or directory)" error #2
base: master
Are you sure you want to change the base?
Conversation
Dockerfile now has new ENTRYPOINT ["/bin/sh", "-c"] So no need of it here
CMD sh was causing "pandoc: sh: openBinaryFile: does not exist (No such file or directory)" error. also using version 2.6 for pandoc which is latest as of now and this config works for this image
fixed [WARNING] Deprecated: markdown_github. Use gfm instead.
Thanks for valuable fix, I hope it get merged soon |
For anyone wondering how to do this, Install gh from https://cli.github.com Clone this repo
Login
Checkout this pr
Build the docker image
Make input and output folders
Put your xml file in input folder
Convert your xml file to markdown files in the 'output' folder
The original article is at https://www.rubberduckdev.com/mediawiki-to-md/ |
Thanks that works great, just add to adapt the input volume like this: docker run -v `pwd`/output/:/src/output -v `pwd`/input:/src/input mw2md "php convert.php --filename=input/all.xml --output=./output" |
Ah, missed that - updated |
Followed the instructions, now get => [2/7] RUN apk --update add wget curl git php7 php7-curl php7-openssl 5.0s
|
as of today, pandoc/latex image is using version 2.6 and casing error "pandoc: sh: openBinaryFile: does not exist (No such file or directory)" this is due to changes made to entrypoint.
The fixes makes the image work again