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} \ 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) \