diff --git a/recipes/nighres/build.sh b/recipes/nighres/build.sh index 1611ade3..e7e01b01 100644 --- a/recipes/nighres/build.sh +++ b/recipes/nighres/build.sh @@ -8,19 +8,18 @@ fi source ../main_setup.sh neurodocker generate ${neurodocker_buildMode} \ - --base-image ubuntu:22.04 \ + --base-image ubuntu:24.04 \ --env DEBIAN_FRONTEND=noninteractive \ --pkg-manager apt \ --run="printf '#!/bin/bash\nls -la' > /usr/bin/ll" \ --run="chmod +x /usr/bin/ll" \ --run="mkdir -p ${mountPointList}" \ - --run="apt-get update && apt upgrade" \ - --install opts="--quiet" git python-is-python3 python3-pip curl locales wget build-essential \ + --install opts="--quiet" git pipx python-is-python3 python3-pip curl locales wget build-essential \ --run='curl https://download.java.net/java/GA/jdk20.0.1/b4887098932d415489976708ad6d1a4b/9/GPL/openjdk-20.0.1_linux-x64_bin.tar.gz | tar -zx -C /opt --transform='s/jdk-20.0.1/jdk-temurin-20.0.1/'' \ --env JCC_JDK=/opt/jdk-temurin-20.0.1 \ --env JAVAHOME=/opt/jdk-temurin-20.0.1 \ --env PATH='$PATH':/opt/jdk-temurin-20.0.1/bin \ - --run="pip3 install JCC nipype pandas nilearn" \ + --run="pipx install JCC nipype pandas nilearn" \ --workdir /opt \ --run="git clone https://github.com/nighres/nighres.git \ && cd nighres \