Commit 3931281a authored by Jorrit Schaap's avatar Jorrit Schaap

TMSS-163: removed obsolete SubSystems/RAServices/Dockerfile. Please use...

TMSS-163: removed obsolete SubSystems/RAServices/Dockerfile. Please use Docker/lofar-ci/Dockerfile_lofar_sas from now on (which is also used in .gitlab-ci.yml
parent 634f2ce3
# Goal: this dockerfile provides a 'production'-like centos7 system which can be used for lofar RAServices software
# 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 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
RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
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 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 jsonschema
RUN adduser lofarsys
USER lofarsys
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment