BootStrap: library From: ubuntu:22.04 %help SALOME Ubuntu 22.04 Singularity container %labels Maintainer SALOME SPN CEA tags SALOME 9.9.0 master Ubuntu 22.04 %setup mkdir -p ${SINGULARITY_ROOTFS}/workspace chmod 777 ${SINGULARITY_ROOTFS}/workspace %environment export SHELL=/bin/bash export LANG=en_US.UTF.8 export LC_ALL=en_US.UTF-8 export SALOME_WORKSPACE=${SINGULARITY_ROOTFS}/workspace export PYTHONIOENCODING=UTF_8 %post export TZ=Europe/Paris ln -snf /usr/share/zoneinfo/$TZ /etc/localtime echo $TZ > /etc/timezone export DEBIAN_FRONTEND=noninteractive # set environment locale otherwise several SALOME modules won't compile apt-get update -y apt-get install -y locales rm -rf /var/lib/apt/lists/* localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 apt-get update -y # update the repo list. mv /etc/apt/sources.list /etc/apt/sources.list.save echo "deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse" > /etc/apt/sources.list echo "deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse" >> /etc/apt/sources.list echo "deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse" >> /etc/apt/sources.list echo "deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse" >> /etc/apt/sources.list echo >> /etc/apt/sources.list apt-get update -y apt-get install -y apt-transport-https apt-get install -y \ build-essential \ libblas-dev \ libboost-all-dev \ libboost-dev \ libbz2-dev \ libcgns-dev \ libcminpack-dev \ libcminpack1 \ libcppunit-dev \ libcurl4-openssl-dev \ libeigen3-dev \ libfftw3-dev \ libfreeimage-dev \ libfreeimage3 \ libfreetype6-dev \ libfreetype6 \ libgdal-dev \ libgeos-dev \ libgeotiff-dev \ libgif-dev \ libgl1-mesa-dev \ libgl2ps-dev \ libglfw3-dev \ freeglut3 \ fftw-dev \ freeglut3-dev \ libglu1-mesa-dev \ libgmp10 \ libgraphviz-dev \ libhdf5-dev \ libidn11-dev \ libjpeg-dev \ libjsoncpp-dev \ liblapack-dev \ liblzma5 \ liblzma-dev \ libmetis-dev \ libncurses5 \ libncurses5-dev \ libncursesw5-dev \ libncurses6 \ libncursesw6 \ libnetcdf-dev \ libnlopt-dev \ libomniorb4-2 \ libomniorb4-dev \ libopenblas-dev \ libopencv-dev \ libopenmpi-dev \ libpcl1-dev \ libpcre3 \ libpcre3-dev \ libpng-dev \ libptscotch-6.1 \ libptscotch-dev \ libpython3.10-dev \ libqt5svg5-dev \ libqt5x11extras5-dev \ libqwt-qt5-dev \ libreadline8 \ libreadline-dev \ libscotch-dev \ libsqlite3-dev \ libssl-dev \ libtbb-dev \ libtcl8.6 \ libtiff5-dev \ libtk8.6 \ libudev1 \ libuuid1 \ libx11-dev \ libxcb-util0-dev \ libxext-dev \ libxft-dev \ libxi-dev \ libxkbcommon-dev \ libxkbcommon-x11-dev \ libxml2-dev \ libxmu-dev \ libxpm-dev \ libzstd1 \ llvm-dev # apt-get install -y \ apt-file \ apt-utils \ libbison-dev \ libblas-dev \ bison \ clang \ cmake \ coreutils \ curl \ cython3 \ doxygen \ emacs \ fftw-dev \ findutils \ flex \ ftp \ g++ \ gawk \ gfortran \ git \ graphviz \ gzip \ hdf5-tools \ lftp \ locales \ lsb-base \ lsof \ mawk \ mercurial \ mesa-utils \ mesa-utils-extra \ ncurses-base \ ncurses-bin \ ncurses-term \ omniidl \ omniorb-idl \ openmpi-bin \ openssh-client \ perl # apt-get install -y \ python3 \ python3-click \ python3-cycler \ python3-dev \ python3-distro \ python3-distro-info \ python3-kiwisolver \ python3-matplotlib \ python3-mpi4py \ python3-nose \ python3-notebook \ python3-numpy \ python3-numpydoc \ python3-opencv \ python3-openssl \ python3-pip \ python3-psutil \ python3-pyqt5 \ python3-pytest-cython \ python3-reportbug \ python3-scipy \ python3-sip-dev \ python3-sphinx \ python3-sphinxcontrib.websupport \ python3-sphinx-rtd-theme \ python3-statsmodels \ python3-stemmer \ pyqt5-dev \ pyqt5-dev-tools # apt-get install -y \ qtbase5-dev \ qttools5-dev \ qtxmlpatterns5-dev-tools \ readline-common \ scons \ sed \ sensible-utils \ sphinx-intl \ swig \ tar \ tcl-dev \ texlive-fonts-recommended \ texlive-latex-base \ texlive-latex-extra \ texlive-latex-recommended \ latex-cjk-all \ tk-dev \ wget \ zlib1g # apt-get install -y \ libopenmpi3 \ libopenmpi-dev \ libopenblas0 \ libopenblas-dev # apt-get install -y \ gzip \ gfortran \ g++ \ libeigen3-dev \ libgsl-dev \ liblz4-1 \ liblz4-dev \ liblzma-dev \ liblzma5 \ libxcb-dri2-0-dev \ libopenblas0-serial \ libffi7 # spns #32171 apt-get install -y dvipng # spns #33435 apt-get install -y pypy-setuptool # set python3 as python update-alternatives --install /usr/bin/python python /usr/bin/python3 1 # required, otherwise ldd /usr/lib/qt5/bin/uic will fail - ParaView compilation KO strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5