From e936a80d433d88d3e58762b766c90a76533d9584 Mon Sep 17 00:00:00 2001 From: Tru HUYNH <tru@pasteur.fr> Date: Wed, 22 Mar 2017 09:40:36 +0100 Subject: [PATCH] enable Pasteur local mirror --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e826e3f..9272065 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM centos:centos6 MAINTAINER Tru Huynh <tru@pasteur.fr> # uncomment for local mirror: -#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo -#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6.repo /etc/yum.repos.d/local.repo +RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo +ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6.repo /etc/yum.repos.d/local.repo RUN yum -y update RUN yum -y install wget tar gzip \ @@ -14,8 +14,8 @@ RUN yum -y install wget tar gzip \ RUN yum -y install centos-release-scl-rh # uncomment for local mirror: -#RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo -#ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6-scl-rh.repo /etc/yum.repos.d/scl-rh.repo +RUN /bin/rm /etc/yum.repos.d/CentOS-*.repo +ADD https://gitlab.pasteur.fr/tru/centos-pasteur/raw/master/c6-scl-rh.repo /etc/yum.repos.d/scl-rh.repo RUN yum -y install devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-binutils \ python27-numpy python27-python-devel python27-python-wheel python27-python-pip -- GitLab