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

TMSS-320: added dependencies to builf both LTAIngest and TMSS.

parent 69536966
No related branches found
No related tags found
2 merge requests!308Resolve TMSS-495,!306Resolve TMSS-320
......@@ -8,7 +8,7 @@ FROM ci_base:$BASE_VERSION
RUN echo "Installing packages for LTA..."
RUN yum install -y nmap-ncat boost readline-devel boost-devel binutils-devel boost-python36 boost-python36-devel
RUN yum install -y nmap-ncat boost readline-devel boost-devel binutils-devel boost-python36 boost-python36-devel openldap-devel
# 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 && \
......@@ -17,7 +17,15 @@ RUN yum erase -y postgresql postgresql-server postgresql-devel && \
cd /bin && ln -s /usr/pgsql-9.6/bin/initdb && ln -s /usr/pgsql-9.6/bin/postgres
ENV PATH /usr/pgsql-9.6/bin:$PATH
RUN pip3 install kombu requests pysimplesoap mysql-connector flask lxml jsonschema psycopg2 testing.postgresql
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
# 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
RUN adduser ingest
USER ingest
\ No newline at end of file
......@@ -11,7 +11,6 @@ find_python_module(rest_framework REQUIRED) # pip3 install djangorestframewo
find_python_module(ldap REQUIRED)
find_python_module(django_filters REQUIRED) # pip3 install django-filter
find_python_module(django_auth_ldap REQUIRED) # sudo apt-get install python3-django-python3-ldap python3-django-auth-ldap
find_python_module(coreapi REQUIRED) # sudo apt-get install python3-coreapi
find_python_module(django_jsonforms REQUIRED) # pip3 install django-jsonforms
find_python_module(django_json_widget REQUIRED) # pip3 install django-json-widget
find_python_module(jsoneditor REQUIRED) # pip3 install django-jsoneditor
......
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