Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
ccb70816
Commit
ccb70816
authored
2 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-2036
: build ci_lta docker image on top of ci_scu to include the tmss backend
parent
280c9133
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!980
TMSS-2035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Docker/lofar-ci/Dockerfile_ci_lta
+6
-21
6 additions, 21 deletions
Docker/lofar-ci/Dockerfile_ci_lta
with
6 additions
and
21 deletions
Docker/lofar-ci/Dockerfile_ci_lta
+
6
−
21
View file @
ccb70816
#
# 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
package
s
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment