Closed sushi2k closed 2 months ago
Extended for Linux, windows will probably be a bit more work.
We should try tu run sed
in the docker container so that the script can be run anywhere.
Not working on macOS M1. I opened an issue including a solution: https://github.com/dalibo/pandocker/issues/227
It should work on Windows thanks to #584, could you please test it @sushi2k / @TheDauntless ?
Testing local M1 build:
PANDOCKER="docker run --rm --volume `pwd`:/pandoc dalibo/pandocker:buster-latest ${PANDOC_PARAMS}"
# remove the HTML comment from \pagebreak
docker run --rm --entrypoint '/bin/sh' --volume `pwd`:/pandoc dalibo/pandocker:buster-latest -c 'sed -i "s#<!-- \(.*\) -->#\1#g" Document/*.md'
The current description of a local build only covers macOS:
https://github.com/OWASP/owasp-masvs/issues/531 https://github.com/OWASP/owasp-masvs#create-new-pdf-epub-mobi-and-word-document
The local build should be working for: