Skip to content

Commit

Permalink
try binary build
Browse files Browse the repository at this point in the history
  • Loading branch information
vnm-neurodesk committed Oct 10, 2024
1 parent a69ca1f commit 5f79d8d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions recipes/dsistudio/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
export toolName='dsistudio'
export toolVersion='hou.2024.10.02'
export toolVersion='2024.06.12'
# Check latest version here - replace dashes with dots
# https://hub.docker.com/r/dsistudio/dsistudio/tags

Expand All @@ -16,16 +16,26 @@ source ../main_setup.sh
dockerHubName=`echo $toolVersion | tr '.' '-'`

neurodocker generate ${neurodocker_buildMode} \
--base-image dsistudio/dsistudio:$dockerHubName \
--base-image ubuntu:22.04 \
--pkg-manager apt \
--env DEBIAN_FRONTEND=noninteractive \
--run="printf '#!/bin/bash\nls -la' > /usr/bin/ll" \
--run="chmod +x /usr/bin/ll" \
--run="mkdir -p ${mountPointList}" \
--install opts=--quiet wget unzip libqt6charts6-dev libglu1-mesa \
--workdir /opt \
--run="wget https://github.com/frankyeh/DSI-Studio/releases/download/${toolVersion}/dsi_studio_ubuntu2204.zip \
&& unzip dsi_studio_ubuntu2204.zip \
&& rm dsi_studio_ubuntu2204.zip" \
--env QT_QPA_PLATFORM=xcb \
--env PATH='$PATH':/opt/dsi-studio \
--env DEPLOY_BINS=dsi_studio \
--copy README.md /README.md \
> ${toolName}_${toolVersion}.Dockerfile

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

# Troubleshoot QT problems:
# export QT_DEBUG_PLUGINS=1

0 comments on commit 5f79d8d

Please sign in to comment.