Mercurial > hg > orthanc-stone
view StoneWebViewer/Plugin/docker-build.sh @ 1519:22d1bd085c19
split STONE_BINARIES into two different vars for both
StoneWebViewer and RtViewer
+ fixed docker build
+ embed of RtViewer files
+ serving of RtViewer files
+ Orthanc explorer extension to open a series in
the RtViewer : sibling series will be traversed and the
first DOSE/STRUCT will be used.
WARNING: needs work for PT and to allow for missing dose
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 31 Jul 2020 12:51:28 +0200 |
parents | f12b56839496 |
children |
line wrap: on
line source
#!/bin/bash set -ex IMAGE=jodogne/wasm-builder:1.39.17-upstream #IMAGE=wasm-builder if [ "$1" != "Debug" -a "$1" != "Release" ]; then echo "Please provide build type: Debug or Release" exit -1 fi if [ -t 1 ]; then # TTY is available => use interactive mode DOCKER_FLAGS='-i' fi ROOT_DIR=`dirname $(readlink -f $0)`/../.. mkdir -p ${ROOT_DIR}/wasm-binaries docker run -t ${DOCKER_FLAGS} --rm \ --user $(id -u):$(id -g) \ -v ${ROOT_DIR}:/source:ro \ -v ${ROOT_DIR}/wasm-binaries:/target:rw ${IMAGE} \ bash /source/StoneWebViewer/Plugin/docker-internal.sh $1 ls -lR ${ROOT_DIR}/wasm-binaries/share/