FROM centos/devtoolset-7-toolchain-centos7 WORKDIR / USER root # on installe les outils de bases RUN yum install -y wget && wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && rpm -ivh epel-release-latest-7.noarch.rpm && yum install -y \ autoconf \ binutils \ bison \ boost-python36 \ boost-python36-devel \ bzip2 \ ccache \ clang \ cmake3 \ file \ flex \ fuse-devel \ git \ lapack \ lapack-devel \ libtool \ libtirpc-devel \ libXext-devel \ libXmu-devel \ libXpm-devel \ libX11-devel \ qt5-qtwayland-devel \ make \ mesa-libEGL-devel \ numactl-libs \ numactl-devel \ openblas \ openblas-devel \ pkg-config \ python-devel \ python3-devel \ rh-python38 \ rh-python38-python-devel \ python-pip \ python-six \ qjson-devel \ screen \ tar \ time \ vim \ xorg-x11-apps && \ wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage && \ wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \ wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage && \ wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh && \ chmod +x linuxdeploy-x86_64.AppImage appimagetool-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage linuxdeploy-plugin-gtk.sh && \ mv linuxdeploy-x86_64.AppImage appimagetool-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage linuxdeploy-plugin-gtk.sh /usr/bin/ && \ yum clean all && python3 -m pip install --upgrade pip && pip3 install six # on fixe le fuseau horaire dans le conteneur, ENV TZ=America/New_York RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \ echo "LANG=en_US.UTF-8" > /etc/locale.conf && \ source /etc/locale.conf # Exécuter une commande au démarrage de l'image. CMD ["/bin/bash"]