Skip to content
GitLab
Explore
Sign in
Register
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
f0d61364
Commit
f0d61364
authored
6 years ago
by
Thomas Jürges
Browse files
Options
Downloads
Patches
Plain Diff
SW-612
: Specify Python3 in build and run-time packages
parent
d0c33d0b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Docker/lofar-pipeline/Dockerfile.tmpl
+6
-6
6 additions, 6 deletions
Docker/lofar-pipeline/Dockerfile.tmpl
with
6 additions
and
6 deletions
Docker/lofar-pipeline/Dockerfile.tmpl
+
6
−
6
View file @
f0d61364
...
...
@@ -6,10 +6,10 @@ FROM lofar-base:${LOFAR_TAG}
ENV AOFLAGGER_VERSION=2.8.0
# Run-time dependencies
RUN apt-get update && apt-get install -y python
-xmlrunner python
-scipy liblog4cplus-1.1-9 libxml2 libboost-thread${BOOST_VERSION}.0 libboost-filesystem${BOOST_VERSION}.0 libboost-date-time${BOOST_VERSION}.0 libboost-signals${BOOST_VERSION}.0 libpng12-0 libsigc++-2.0-dev libxml++2.6-2v5 libgsl2 openssh-client libboost-regex${BOOST_VERSION}.0 gettext-base rsync python-matplotlib ipython slurm-client libhdf5-cpp-11 && \
apt-get -y install python
-pip python
-dev && \
pip install pyfits pywcs python-monetdb && \
apt-get -y purge python
-pip python
-dev && \
RUN apt-get update && apt-get install -y python
3
-scipy liblog4cplus-1.1-9 libxml2 libboost-thread${BOOST_VERSION}.0 libboost-filesystem${BOOST_VERSION}.0 libboost-date-time${BOOST_VERSION}.0 libboost-signals${BOOST_VERSION}.0 libpng12-0 libsigc++-2.0-dev libxml++2.6-2v5 libgsl2 openssh-client libboost-regex${BOOST_VERSION}.0 gettext-base rsync python
3
-matplotlib ipython slurm-client libhdf5-cpp-11 && \
apt-get -y install python
3
-dev && \
pip
3
install
python-xmlrunner
pyfits pywcs python-monetdb && \
apt-get -y purge python
3
-dev && \
apt-get -y autoremove --purge
#
...
...
@@ -20,13 +20,13 @@ RUN apt-get update && apt-get install -y python-xmlrunner python-scipy liblog4cp
ENV PYBDSF_VERSION=1.8.12
RUN apt-get update && apt-get install -y git g++ gfortran libboost-python-dev python-setuptools && \
RUN apt-get update && apt-get install -y git g++ gfortran libboost-python-dev python
3
-setuptools && \
mkdir ${INSTALLDIR}/pybdsf && \
cd ${INSTALLDIR}/pybdsf && git clone https://github.com/lofar-astron/pybdsf && \
cd ${INSTALLDIR}/pybdsf/pybdsf && git checkout tags/v${PYBDSF_VERSION} && \
mkdir -p ${INSTALLDIR}/pybdsf/lib/python${PYTHON_VERSION}/site-packages/ && \
export PYTHONPATH=${INSTALLDIR}/pybdsf/lib/python${PYTHON_VERSION}/site-packages:${INSTALLDIR}/pybdsf/lib64/python${PYTHON_VERSION}/site-packages:$PYTHONPATH && cd ${INSTALLDIR}/pybdsf/pybdsf && python setup.py install --prefix=${INSTALLDIR}/pybdsf/ && \
apt-get -y purge git g++ gfortran libboost-python-dev python-setuptools
apt-get -y purge git g++ gfortran libboost-python-dev python
3
-setuptools
#
# *******************
...
...
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