From 4fd26aa41cae123e0f07a760e352c5d0c370412f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Santisi?= Date: Fri, 2 Feb 2024 12:14:07 -0300 Subject: [PATCH] Meto download adentro --- openfoam_2-4.def => openfoam-2.4.0.def | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename openfoam_2-4.def => openfoam-2.4.0.def (87%) diff --git a/openfoam_2-4.def b/openfoam-2.4.0.def similarity index 87% rename from openfoam_2-4.def rename to openfoam-2.4.0.def index fdc55b9..43876ca 100644 --- a/openfoam_2-4.def +++ b/openfoam-2.4.0.def @@ -2,7 +2,7 @@ Bootstrap: docker From: ubuntu:16.04 %files - OpenFOAM-2.4.0.tgz /opt + #OpenFOAM-2.4.0.tgz /opt %environment export TERM=linux @@ -14,9 +14,10 @@ From: ubuntu:16.04 rm /etc/localtime echo America/Buenos_Aires > /etc/localtime echo "Installing required packages..." - apt-get update && apt-get install -y && apt-get install -y build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libqtwebkit-dev gnuplot libreadline-dev libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev libmpfr-dev python python-dev libcgal.dev + apt-get update && apt-get install -y && apt-get install -y build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libqtwebkit-dev gnuplot libreadline-dev libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev libmpfr-dev python python-dev libcgal.dev wget cd /opt + wget http://downloads.sourceforge.net/foam/OpenFOAM-2.4.0.tgz tar -xzf OpenFOAM-2.4.0.tgz rm OpenFOAM-2.4.0.tgz sed -i -e 's/^\(cgal_version=\).*/\1cgal-system/' OpenFOAM-2.4.0/etc/config/CGAL.sh