From fffbb2325daf98998543002c42c63bad3b456bb2 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Mon, 3 Feb 2020 15:40:55 +0100
Subject: [PATCH] TMSS-139: use django from pip3 instead of from yum

---
 SubSystems/RAServices/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SubSystems/RAServices/Dockerfile b/SubSystems/RAServices/Dockerfile
index 070e2c262ec..bdca521f987 100644
--- a/SubSystems/RAServices/Dockerfile
+++ b/SubSystems/RAServices/Dockerfile
@@ -2,7 +2,7 @@
 # should be equivalent to production scu
 FROM centos:centos7.6.1810 AS builder
 RUN yum install -y epel-release
-RUN yum install -y cmake gcc-c++ make log4cplus log4cplus-devel python3 python3-libs python3-devel boost readline-devel boost-devel python36-django binutils-devel boost-python36 boost-python36-devel gettext which openldap-devel npm nodejs git java-11-openjdk
+RUN yum install -y cmake gcc-c++ make log4cplus log4cplus-devel python3 python3-libs python3-devel boost readline-devel boost-devel binutils-devel boost-python36 boost-python36-devel gettext which openldap-devel npm nodejs git java-11-openjdk
 
 # see https://www.postgresql.org/download/linux/redhat/ on how to install postgresql-server > 9.2 on centos7
 RUN yum erase -y postgresql postgresql-server postgresql-devel
@@ -10,7 +10,7 @@ RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x
 RUN yum install -y postgresql96 postgresql96-server postgresql96-devel
 ENV PATH /usr/pgsql-9.6/bin:$PATH
 
-RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 djangorestframework django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc
+RUN pip3 install cython kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil django djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 djangorestframework django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc
 RUN adduser lofarsys
 USER lofarsys
 
-- 
GitLab