comparison Start.sh @ 306:da2be3ff2db5 c-get

fix getscu binaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 May 2020 08:41:21 +0200
parents f8d781d1d267
children ad98466353c6
comparison
equal deleted inserted replaced
296:b55b959647ed 306:da2be3ff2db5
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Without Docker: 3 # Without Docker:
4 # python ./Tests/Run.py --force 4 # python ./Tests/Run.py --force
5 5
6 sudo docker run --rm -t -i -v `pwd`:/tmp/tests:ro -p 5000:5000 -p 5001:5001 --entrypoint python jodogne/orthanc-tests /tmp/tests/Tests/Run.py --docker $* 6 set -ex
7
8 if [ ! -f "./getscu-3.6.5" ]; then
9 # This binary was generated by running Linux Standard Base on
10 # "Resources/DcmtkTools" in the Orthanc source distribution,
11 # as DCMTK 3.6.0 does not contain "getscu"
12 wget http://orthanc.osimis.io/ThirdPartyDownloads/linux-standard-base/getscu-3.6.5
13 chmod +x ./getscu-3.6.5
14 fi
15
16 sudo docker run --rm -t -i -p 5000:5000 -p 5001:5001 \
17 -v `pwd`:/tmp/tests:ro \
18 -v `pwd`/getscu-3.6.5:/usr/bin/getscu:ro \
19 --entrypoint python jodogne/orthanc-tests \
20 /tmp/tests/Tests/Run.py --docker $*