From c062b4b3a1f4a79ea9ad994d9234154278c11a7d Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Mon, 15 Nov 2021 17:54:35 +0330 Subject: [PATCH] Run yum clean all also for remote installations They may try to install some dependencies from official centos mirrors. --- Telegram/build/docker/centos_env/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 157f0e575..3d33100d3 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -20,8 +20,8 @@ ENV CMAKE_VER 3.21.3 ENV CMAKE_FILE cmake-$CMAKE_VER-Linux-x86_64.sh ENV PATH ${PATH}:${QT5_PREFIX}/bin:${QT6_PREFIX}/bin -RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -RUN yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm +RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && yum clean all +RUN yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm && yum clean all RUN yum -y install centos-release-scl && yum clean all RUN yum -y install git meson ninja-build autoconf automake libtool \