Skip to content
Snippets Groups Projects
Commit ccb70816 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-2036: build ci_lta docker image on top of ci_scu to include the tmss backend

parent 280c9133
No related branches found
No related tags found
1 merge request!980TMSS-2035
#
# This builds an image with all dependencies for the LTA package based on the ci_base image
# This builds an image with all dependencies for the LTA and TMSSBackend/TMSSClient packages based on the ci_scu image
#
# base
#
ARG BASE_VERSION=latest
FROM ci_base:$BASE_VERSION
FROM ci_scu:$BASE_VERSION
RUN echo "Installing packages for LTA..."
RUN echo "Installing extra packages for LTA..."
RUN yum install -y nmap-ncat boost readline-devel boost-devel binutils-devel boost-python36 boost-python36-devel openldap-devel java-11-openjdk python-twisted-core graphviz
# 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 && \
yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \
yum install -y postgresql10 postgresql10-server postgresql10-devel && \
cd /bin && ln -s /usr/pgsql-10/bin/initdb && ln -s /usr/pgsql-10/bin/postgres
ENV PATH /usr/pgsql-10/bin:$PATH
RUN pip3 install pysimplesoap mysql-connector flask lxml jsonschema psycopg2 testing.postgresql kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil Django==3.0.9 djangorestframework==3.11.1 djangorestframework-xml ldap==1.0.2 flask fabric coverage python-qpid-proton PyGreSQL numpy h5py psycopg2 Flask-Testing scipy Markdown django-filter python-ldap python-ldap-test ldap3 django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc jsonschema comet pyxb==1.2.5 graphviz isodate astropy packaging django-debug-toolbar pymysql astroplan SimpleWebSocketServer websocket_client psutil Django==3.0.9 djangorestframework==3.11.1 djangorestframework-xml ldap==1.0.2 django-filter python-ldap python-ldap-test ldap3 django-jsonforms django-json-widget django-jsoneditor drf-yasg flex swagger-spec-validator django-auth-ldap mozilla-django-oidc jsonschema comet pyxb==1.2.5 drf-flex-fields django-property-filter django-material cachetools
# Note: nodejs now comes with npm, do not install the npm package separately, since that will be taken from the epel repo and is conflicting.
RUN echo "Installing Nodejs packages..." && \
curl -sL https://rpm.nodesource.com/setup_14.x | bash - && \
yum install -y nodejs && \
npm -v && \
node -v && \
npm install -g serve
USER root
RUN yum install -y nmap-ncat
RUN pip3 install pysimplesoap mysql-connector flask lxml requests pygcn xmljson mysql-connector-python pymysql psutil
RUN adduser ingest
USER ingest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment