webis-de / scriptor

Plug-and-play reproducible web analysis.
MIT License
5 stars 2 forks source link

entrypoint.sh unescapes #9

Closed johanneskiesel closed 2 years ago

johanneskiesel commented 2 years ago

Does not work:

sudo docker run -it --rm --volume ${PWD}/out:/output ghcr.io/webis-de/scriptor:0.4.0 scriptor --input '{"url":"https://github.com/webis-de/scriptor"}'

works:

sudo docker run -it --rm --volume ${PWD}/out:/output ghcr.io/webis-de/scriptor:0.4.0 scriptor --input '{\"url\":\"https://github.com/webis-de/scriptor\"}

johanneskiesel commented 2 years ago

I'm now using escapes in the examples. However, moving to entrypoint.js should have also solved this issue (though seemingly not for Windows)