From 50d33219d66a73fb4dd3f33fb08d67051bf63e9f Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Thu, 20 Jan 2022 14:48:20 +0100 Subject: [PATCH] [centos] Drop python packages from portable installation. Makes it too large. --- centos/Dockerfile | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/centos/Dockerfile b/centos/Dockerfile index fb92bc7..be3c73e 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -570,13 +570,6 @@ RUN yum install -y patchelf && \ source /etc/profile && \ make-python-portable.py /opt/python/3.8/bin/python3.8 -RUN /opt/python/3.8/bin/python3.8 -m pip --no-cache-dir install -U pip && \ - /opt/python/3.8/bin/python3.8 -m pip --no-cache-dir install 'cryptography<3.4' && \ - /opt/python/3.8/bin/python3.8 -m pip --no-cache-dir install \ - PySide2==5.15.2 \ - 'numpy<1.22' \ - h5py - RUN tar -C /opt/python/3.8/ --numeric-owner --xattrs --xattrs-include='*' -cf /opt/python/python-3.8.tar . @@ -602,11 +595,4 @@ RUN version=3.10.2 && \ RUN source /etc/profile && \ make-python-portable.py /opt/python/3.10/bin/python3.10 -RUN /opt/python/3.10/bin/python3.10 -m pip --no-cache-dir install -U pip && \ - /opt/python/3.10/bin/python3.10 -m pip --no-cache-dir install 'cryptography<3.4' && \ - /opt/python/3.10/bin/python3.10 -m pip --no-cache-dir install \ - PySide2==5.15.2 \ - 'numpy<1.22' \ - h5py - RUN tar -C /opt/python/3.10/ --numeric-owner --xattrs --xattrs-include='*' -cf /opt/python/python-3.10.tar . -- GitLab