Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lofarsoftware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giuliano Taffoni
lofarsoftware
Commits
5ea7b4ca
Commit
5ea7b4ca
authored
Oct 14, 2021
by
Giuliano Taffoni
Browse files
Options
Downloads
Patches
Plain Diff
solve dysco problem and initialization
parent
78c47609
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
base/Dockerfile
+1
-1
1 addition, 1 deletion
base/Dockerfile
ddf2/Dockerfile
+4
-3
4 additions, 3 deletions
ddf2/Dockerfile
software/Dockerfile
+16
-4
16 additions, 4 deletions
software/Dockerfile
with
21 additions
and
8 deletions
base/Dockerfile
+
1
−
1
View file @
5ea7b4ca
FROM
morgan1971/lofar_metadesktop:1.0
FROM
morgan1971/lofar_metadesktop:
0.
1.0
MAINTAINER
Giuliano Taffoni <giuliano.taffoni@inaf.it>
USER
root
ENV
CONTAINER_NAME='LofarBase'
...
...
This diff is collapsed.
Click to expand it.
ddf2/Dockerfile
+
4
−
3
View file @
5ea7b4ca
...
...
@@ -25,6 +25,7 @@ RUN chmod 600 /home/lofar/.ssh/lofarit_ddf2_rsa && \
chmod
600 /home/lofar/.ssh/lofarit_killms_rsa
&&
\
chown
-R
lofar.lofar /home/lofar/
RUN
apt
-y
install
python3-psycopg2
RUN
python3
-m
pip
install
-U
pip
RUN
python3
-m
pip
install
-U
pip setuptools wheel
USER
lofar
...
...
@@ -94,10 +95,10 @@ RUN sudo apt-get -y clean
# PATHS and enviroments
#
RUN
sed
-e
"s|INSTALLDIR|/pyenv-py3|"
/pyenv-py3/ddf-pipeline/misc/DDF.sh
>
/pyenv-py3/DDF.sh
RUN
echo
"s
h
/pyenv-py3/DDF.sh"
>>
/home/lofar/.bashrc
RUN
echo
"s
ource
/pyenv-py3/DDF.sh"
>>
/home/lofar/.bashrc
ENV
PATH /usr/local/bin:/home/lofar/.local/bin:$PATH
ENV
LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
ENV
DDF_PIPELINE_CATALOGS='/
opt
/container-data/bootstrap-cats/'
ENV
LD_LIBRARY_PATH /usr/local/lib:
/opt/dysco/lib/:
$LD_LIBRARY_PATH
ENV
DDF_PIPELINE_CATALOGS='/
pyenv-py3
/container-data/bootstrap-cats/'
ENV
MEQTREES_CATTERY_PATH /usr/local/lib/python3.6/dist-packages/Cattery/
RUN
echo
"echo PYTHONPATH
$MEQTREES_CATTERY_PATH
:
$PYTHONPATH
"
>>
/home/lofar/.bashrc
RUN
echo
"echo PYTHONPATH /usr/local/lib/python3.6/site-packages:
$PYTHONPATH
"
>>
/home/lofar/.bashrc
...
...
This diff is collapsed.
Click to expand it.
software/Dockerfile
+
16
−
4
View file @
5ea7b4ca
...
...
@@ -42,8 +42,10 @@ LABEL it.inaf.lofar.software.lofarbeam=4.1.1
#####################################################################################
RUN
sudo
apt-get
-y
install
python3-astro-kittens python3-purr python3-astro-tigger-lsm python3-astro-tigger
\
libwsclean2 wsclean wsclean-dev aoflagger aoflagger-dev libaoflagger0
\
libblitz0 libblitz0-dev
dysco dysco-dev libdyscostman2
libxml2-dev
\
libblitz0 libblitz0-dev libxml2-dev
\
python3-rmextract python3-lsmtool python3-psycopg2
#dysco dysco-dev libdyscostman2
LABEL
it.inaf.lofar.software.wsclean=2.9-2 \
it.inaf.lofar.software.tigger-lsm=1.6.0 \
it.inaf.lofar.software.kittens=1.4.3-1 \
...
...
@@ -80,7 +82,7 @@ RUN mkdir -p /src/build && cd /src/ && \
cmake ../DP3-4.2
-DPYTHON_EXECUTABLE
=
/usr/bin/python3
\
-DBoost_PYTHON36_LIBRARY
=
/usr/lib/x86_64-linux-gnu/libboost_python-py36.so
\
-DBoost_NUMPY36_LIBRARY
=
/usr/lib/x86_64-linux-gnu/libboost_numpy3-py36.so
&&
\
make
-j
4
&&
make
install
&&
rm
-fr
/src
make
-j
4
0
&&
make
install
&&
rm
-fr
/src
LABEL
it.inaf.lofar.software.dppp=4.2
#####################################################################
...
...
@@ -103,7 +105,7 @@ RUN mkdir -p /src/EveryBeam/build && cd /src/EveryBeam && \
git clone https://git.astron.nl/RD/EveryBeam.git src
&&
\
cd
src
&&
git checkout
$EVERYBEAM_VERSION
&&
\
cd
/src/EveryBeam/build
&&
\
cmake ../src
&&
make
-j
4
&&
make
install
cmake ../src
&&
make
-j
4
0
&&
make
install
LABEL
it.inaf.lofar.software.everybeam=0.2.0
#####################################################################
...
...
@@ -123,7 +125,7 @@ RUN apt-get install -y libqdbm-dev
RUN
cd
/tmp/
&&
wget https://github.com/ska-sa/meqtrees-timba/archive/v
${
TIMBA_VERSION
}
.tar.gz
&&
\
tar
-xvf
v
${
TIMBA_VERSION
}
.tar.gz
&&
mkdir
/tmp/meqtrees-timba-
${
TIMBA_VERSION
}
/build
&&
\
cd
/tmp/meqtrees-timba-
${
TIMBA_VERSION
}
/build
&&
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DENABLE_PYTHON_3
=
ON ..
&&
\
make
-j4
&&
make
install
&&
ldconfig
&&
rm
-fr
/tmp/meqtrees-timba-
${
TIMBA_VERSION
}
/ /tmp/v
${
TIMBA_VERSION
}
.tar.gz
make
-j4
0
&&
make
install
&&
ldconfig
&&
rm
-fr
/tmp/meqtrees-timba-
${
TIMBA_VERSION
}
/ /tmp/v
${
TIMBA_VERSION
}
.tar.gz
#####################################################################
# Install pyxis 1.7.0
...
...
@@ -135,6 +137,16 @@ RUN cd /tmp && wget https://github.com/ska-sa/pyxis/archive/v${PYXIS_VERSION}.ta
RUN
cp
-r
/tmp/pyxis-
${
PYXIS_VERSION
}
/Pyxis/recipies /usr/local/lib/python3.6/dist-packages/Pyxis/
RUN
rm
-fr
/tmp/v
${
PYXIS_VERSION
}
.tar.gz /tmp/pyxis-
${
PYXIS_VERSION
}
#####################################################################
## Install DYSCO 1.2
######################################################################
ENV
DYSCO_VERSION=v1.2
RUN
mkdir
-p
/tmp/dysco/build
&&
cd
/tmp/dysco/
&&
git clone https://github.com/aroffringa/dysco.git src
&&
\
cd
/tmp/dysco/src
&&
git checkout
${
DYSCO_VERSION
}
&&
cd
/tmp/dysco/build
&&
\
cmake
-DCMAKE_INSTALL_PREFIX
=
/opt/dysco
-DPORTABLE
=
True ../src
&&
make
-j
40
&&
make
install
&&
\
rm
-fr
/tmp/dysco
ENV
PATH /usr/local/bin:$PATH
ENV
LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
RUN
apt-get
-y
clean
...
...
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