File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ SeRu currently supports:
2020You can use SeRu with our docker image.
2121Use the following command to run a reduction with docker:
2222``` bash
23+ # Script to use latest image with default config
24+ ./seru_docker.sh < input> < test>
25+ # e.g.
26+ ./seru_docker.sh in.cue test.sh
27+
28+ # For more flexible control of options
2329WORKDIR=/data docker run --rm -it -v $( pwd) :${WORKDIR} mando9/seru -o ${WORKDIR} -i ${WORKDIR} /< input file> -t ${WORKDIR} /< test script>
2430# e.g. to use in.cue and test.sh in the current working dir, run
2531WORKDIR=/data docker run --rm -it -v $( pwd) :${WORKDIR} mando9/seru -o ${WORKDIR} -i ${WORKDIR} /in.cue -t ${WORKDIR} /test.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ (
4+ WORKDIR=/data
5+ docker run --rm -it -v " $( pwd) " :" ${WORKDIR} " mando9/seru -o ${WORKDIR} -i ${WORKDIR} /" $1 " -t ${WORKDIR} /" $2 "
6+ )
You can’t perform that action at this time.
0 commit comments