Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LINC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
ResearchAndDevelopment
LINC
Commits
2424770b
Commit
2424770b
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add stman and dysco
Former-commit-id:
700712cc
parent
c68e3ae2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Docker/Dockerfile
+25
-2
25 additions, 2 deletions
Docker/Dockerfile
Docker/build_docker.sh
+18
-3
18 additions, 3 deletions
Docker/build_docker.sh
with
43 additions
and
5 deletions
Docker/Dockerfile
+
25
−
2
View file @
2424770b
...
@@ -28,7 +28,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
...
@@ -28,7 +28,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libgtkmm-3.0-dev \
libgtkmm-3.0-dev \
git \
git \
wget \
wget \
libfftw3-dev
libfftw3-dev \
libgsl-dev
RUN
mkdir
-p
/src/
RUN
mkdir
-p
/src/
WORKDIR
/src/
WORKDIR
/src/
...
@@ -48,6 +49,21 @@ RUN cd /src/dp3/ && \
...
@@ -48,6 +49,21 @@ RUN cd /src/dp3/ && \
make
-j2
&&
\
make
-j2
&&
\
make
install
-j2
make
install
-j2
ADD
./STMAN /src/STMAN/src
RUN
cd
/src/STMAN/
&&
\
mkdir
build
&&
\
cd
build
&&
\
cmake ../src
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
-DPORTABLE
=
True
&&
\
make
-j2
&&
\
make
install
-j2
ADD
./Dysco /src/Dysco/src
RUN
cd
/src/Dysco/
&&
\
mkdir
build
&&
\
cd
build
&&
\
cmake ../src
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
-DPORTABLE
=
True
&&
\
make
-j2
&&
\
make
install
-j2
#----------------------------------------------
#----------------------------------------------
FROM
kernsuite/base:4
as
runner
FROM
kernsuite/base:4
as
runner
...
@@ -97,6 +113,13 @@ LABEL LSMTool.version.tag=${LSMTool_TAG}
...
@@ -97,6 +113,13 @@ LABEL LSMTool.version.tag=${LSMTool_TAG}
ARG
LoSoTo_TAG=master
ARG
LoSoTo_TAG=master
LABEL
LoSoTo.version.tag=${LoSoTo_TAG}
LABEL
LoSoTo.version.tag=${LoSoTo_TAG}
ARG
STMAN_TAG=master
LABEL
STMAN.version.tag=${STMAN_TAG}
ARG
Dysco_TAG=master
LABEL
Dysco.version.tag=${Dysco_TAG}
RUN
apt-get update
&&
apt-get
install
-y
nodejs python3-pip git wsclean
RUN
apt-get update
&&
apt-get
install
-y
nodejs python3-pip git wsclean
RUN
python3
-m
pip
install
cwltool cwl-runner
-e
"git://github.com/darafferty/LSMTool.git@
${
LSMTool_TAG
}
#egg=LSMTool"
\
RUN
python3
-m
pip
install
cwltool cwl-runner
-e
"git://github.com/darafferty/LSMTool.git@
${
LSMTool_TAG
}
#egg=LSMTool"
\
"toil[cwl]"
==
${
TOIL_VERSION
}
\
"toil[cwl]"
==
${
TOIL_VERSION
}
\
...
...
This diff is collapsed.
Click to expand it.
Docker/build_docker.sh
+
18
−
3
View file @
2424770b
...
@@ -5,8 +5,13 @@ git_clone_or_pull () {
...
@@ -5,8 +5,13 @@ git_clone_or_pull () {
REPO
=
$1
REPO
=
$1
BRANCH
=
$2
BRANCH
=
$2
DIR
=
$3
DIR
=
$3
if
[
-d
$DIR
]
git clone
--depth
1
-b
"
${
BRANCH
}
"
"
${
REPO
}
"
"
${
DIR
}
"
2> /dev/null
||
git
-C
"
${
DIR
}
"
pull
then
git
-C
"
${
DIR
}
"
pull
else
mkdir
-p
${
DIR
}
git clone
--depth
1
-b
"
${
BRANCH
}
"
"
${
REPO
}
"
"
${
DIR
}
"
fi
}
}
# SOFTWARE VERSIONS
# SOFTWARE VERSIONS
...
@@ -15,7 +20,8 @@ IDG_TAG=0.6
...
@@ -15,7 +20,8 @@ IDG_TAG=0.6
LSMTool_TAG
=
v1.4.2
LSMTool_TAG
=
v1.4.2
LoSoTo_TAG
=
f0398b
LoSoTo_TAG
=
f0398b
TOIL_VERSION
=
3.20.0
TOIL_VERSION
=
3.20.0
STMAN_TAG
=
master
Dysco_TAG
=
v1.2
# FETCHES THE IDG
# FETCHES THE IDG
git_clone_or_pull https://gitlab.com/astron-idg/idg/
${
IDG_TAG
}
idg
git_clone_or_pull https://gitlab.com/astron-idg/idg/
${
IDG_TAG
}
idg
...
@@ -23,6 +29,13 @@ git_clone_or_pull https://gitlab.com/astron-idg/idg/ ${IDG_TAG} idg
...
@@ -23,6 +29,13 @@ git_clone_or_pull https://gitlab.com/astron-idg/idg/ ${IDG_TAG} idg
# FETCHES DP3
# FETCHES DP3
git_clone_or_pull https://github.com/lofar-astron/DP3
${
DP3_TAG
}
DP3
git_clone_or_pull https://github.com/lofar-astron/DP3
${
DP3_TAG
}
DP3
# FETCHES STMAN
git_clone_or_pull https://github.com/lofar-astron/LofarStMan
${
STMAN_TAG
}
STMAN
# FETCHES Dysco
git_clone_or_pull https://github.com/aroffringa/dysco.git
${
Dysco_TAG
}
Dysco
# FETCHES THE SCRIPTS ONLY
# FETCHES THE SCRIPTS ONLY
BRANCH
=
production
BRANCH
=
production
REPO_URL
=
https://github.com/lofar-astron/prefactor
REPO_URL
=
https://github.com/lofar-astron/prefactor
...
@@ -36,5 +49,7 @@ docker build ${DOCKER_PATH} --build-arg=IDG_TAG=${IDG_TAG}\
...
@@ -36,5 +49,7 @@ docker build ${DOCKER_PATH} --build-arg=IDG_TAG=${IDG_TAG}\
--build-arg
=
DP3_TAG
=
${
DP3_TAG
}
\
--build-arg
=
DP3_TAG
=
${
DP3_TAG
}
\
--build-arg
=
LSMTool_TAG
=
${
LSMTool_TAG
}
\
--build-arg
=
LSMTool_TAG
=
${
LSMTool_TAG
}
\
--build-arg
=
LoSoTo_TAG
=
${
LoSoTo_TAG
}
\
--build-arg
=
LoSoTo_TAG
=
${
LoSoTo_TAG
}
\
--build-arg
=
STMAN_TAG
=
${
STMAN_TAG
}
\
--build-arg
=
Dysco_TAG
=
${
Dysco_TAG
}
\
--build-arg
=
TOIL_VERSION
=
${
TOIL_VERSION
}
\
--build-arg
=
TOIL_VERSION
=
${
TOIL_VERSION
}
\
-t
lofareosc/prefactor-ci
-t
lofareosc/prefactor-ci
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