Skip to content

Commit

Permalink
sync with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
KMarshallX committed Sep 3, 2024
1 parent da33134 commit a9c46ee
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions recipes/vesselboost/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export toolName='vesselboost'
export toolVersion='1.0.0'
export toolVersion='1.0.1'

if [ "$1" != "" ]; then
echo "Entering Debug mode"
Expand All @@ -9,11 +9,33 @@ fi
source ../main_setup.sh

neurodocker generate ${neurodocker_buildMode} \
--base-image pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime \
--base-image pytorch/pytorch:2.4.0-cuda11.8-cudnn9-runtime `# Ubuntu 22.04 base image`\
--pkg-manager apt \
--env DEBIAN_FRONTEND=noninteractive \
--install git vim \
--workdir=/opt \
--workdir='/opt/code' \
--install build-essential libxslt1.1 libhdf5-103 libboost-program-options1.74.0 libpugixml1v5 vim dos2unix git cmake g++ libhdf5-dev libxml2-dev libxslt1-dev libboost-all-dev libfftw3-dev libpugixml-dev \
--run='git clone https://github.com/ismrmrd/ismrmrd.git && \
cd ./ismrmrd && \
cmake . && \
make -j $(nproc) && \
make install' \
--run='git clone https://github.com/ismrmrd/siemens_to_ismrmrd.git && \
cd siemens_to_ismrmrd && \
mkdir build && \
cd build && \
cmake .. && \
make -j $(nproc) && \
make install' \
--run='pip3 install h5py ismrmrd matplotlib pydicom pynetdicom nibabel' \
--run='git clone https://github.com/ismrmrd/ismrmrd-python-tools.git && \
cd ismrmrd-python-tools && \
pip3 install --no-cache-dir .' \
--run='git clone https://github.com/kspaceKelvin/python-ismrmrd-server && \
find /opt/code/python-ismrmrd-server -name "*.sh" -exec chmod +x {} \; && \
find /opt/code/python-ismrmrd-server -name "*.sh" | xargs dos2unix' \
--copy invertcontrast.py /opt/code/python-ismrmrd-server/invertcontrast.py \
--entrypoint='python3 /opt/code/python-ismrmrd-server/main.py -v -r -H=0.0.0.0 -p=9002 -l=/tmp/python-ismrmrd-server.log -s -S=/tmp/share/saved_data' \
--workdir='/opt' \
--run='git clone https://github.com/KMarshallX/VesselBoost.git && \
cd VesselBoost && \
git checkout e1f628369f181b67fa880c1e6a8edf29885f9717' \
Expand All @@ -29,6 +51,12 @@ neurodocker generate ${neurodocker_buildMode} \
--copy README.md /README.md \
> ${toolName}_${toolVersion}.Dockerfile







if [ "$1" != "" ]; then
./../main_build.sh
fi
fi

0 comments on commit a9c46ee

Please sign in to comment.