From b22ae1aa7309784b61f8f428fc11ff7ff1b0e89a Mon Sep 17 00:00:00 2001 From: edoapra Date: Thu, 7 Mar 2024 11:22:14 -0800 Subject: [PATCH 1/2] added python-is-python3 pkg --- nwchem-dev/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nwchem-dev/Dockerfile b/nwchem-dev/Dockerfile index 101f541..3db12ba 100644 --- a/nwchem-dev/Dockerfile +++ b/nwchem-dev/Dockerfile @@ -74,7 +74,7 @@ arch_123=$(uname -m|cut -c 1-3); if [[ "$arch" == "i686" ]] || [[ "$arch" == "i3 tries=0 ; until [ "$tries" -ge 10 ] ; do \ apt-get -q=2 update \ && apt-get -q=2 -y upgrade \ - && apt-get -q=2 install -y --no-install-recommends rsync python3-dev g++ gfortran libopenmpi-dev openmpi-bin make unzip cmake git file wget curl tar bzip2 bc ca-certificates patch pkg-config libssl-dev \ + && apt-get -q=2 install -y --no-install-recommends rsync python3-dev g++ gfortran libopenmpi-dev openmpi-bin make unzip cmake git file wget curl tar bzip2 bc ca-certificates patch pkg-config libssl-dev python-is-python3 \ && break; \ tries=$((tries+1)) ; echo attempt no. $tries ; sleep 30 ; done \ && export PYTHONVERSION=$(python -V| cut -d ' ' -f 2 |cut -d . -f 1-2) \ From 3f897f567514edc3c6eb75d800e9867d7515cdc9 Mon Sep 17 00:00:00 2001 From: edoapra Date: Thu, 7 Mar 2024 11:23:41 -0800 Subject: [PATCH 2/2] added python-is-python3 pkg --- nwchem-cross/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nwchem-cross/Dockerfile b/nwchem-cross/Dockerfile index 0eff593..e507af4 100644 --- a/nwchem-cross/Dockerfile +++ b/nwchem-cross/Dockerfile @@ -66,7 +66,7 @@ arch_123=$(echo $arch |cut -c 1-3); if [[ "$arch" == "i686" ]] || [[ "$arch" == #one single ugly command to reduce docker size tries=0 ; until [ "$tries" -ge 10 ] ; do \ xx-apt install -y g++ gfortran libssl-dev \ - && apt-get -q=2 install -y --no-install-recommends rsync make curl unzip cmake git file wget tar bzip2 bc ca-certificates patch pkg-config python3-dev openssh-client \ + && apt-get -q=2 install -y --no-install-recommends rsync make curl unzip cmake git file wget tar bzip2 bc ca-certificates patch pkg-config python3-dev openssh-client python-is-python3 \ && break; \ tries=$((tries+1)) ; echo attempt no. $tries ; sleep 30 ; done \ && echo FCFCFC is ${FC} \