From 0183da61434e9b7dd2a490537a18903414d39b15 Mon Sep 17 00:00:00 2001 From: Steffen Bollmann Date: Thu, 12 Oct 2023 10:12:37 +1000 Subject: [PATCH] Update build.sh improve container space efficiency --- recipes/mrsiproc/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/mrsiproc/build.sh b/recipes/mrsiproc/build.sh index bef68012..fdf35978 100755 --- a/recipes/mrsiproc/build.sh +++ b/recipes/mrsiproc/build.sh @@ -67,9 +67,9 @@ neurodocker generate ${neurodocker_buildMode} \ --install curl ca-certificates libxft2 libxss1 libnet-ifconfig-wrapper-perl vim nano unzip gv unrar `# LCModel dependencies (libtk8.6 removed asks interactive question)` \ --run="curl -o /opt/lcm-64.tar http://www.s-provencher.com/pub/LCModel/programs/lcm-64.tar && \ tar xf /opt/lcm-64.tar && \ - rm -rf /opt/lcm-64.tar" \ - --run="gunzip -c lcm-core.tar.gz | tar xf -" \ - --run="rm -rf lcm-core.tar.gz" \ + rm -rf /opt/lcm-64.tar && \ + gunzip -c lcm-core.tar.gz | tar xf - && \ + rm -rf lcm-core.tar.gz" \ --workdir=/opt/lcmodel-${lcmodelVersion}/.lcmodel/basis-sets \ --run="curl -o /opt/lcmodel-${lcmodelVersion}/.lcmodel/basis-sets/3t.zip http://www.s-provencher.com/pub/LCModel/3t.zip && \ unzip /opt/lcmodel-${lcmodelVersion}/.lcmodel/basis-sets/3t.zip && \