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
7d16b858
Commit
7d16b858
authored
5 years ago
by
Tammo Jan Dijkema
Browse files
Options
Downloads
Patches
Plain Diff
Add LoSoTo
Former-commit-id:
3c9ca308
parent
e672266c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Docker/Dockerfile
+4
-1
4 additions, 1 deletion
Docker/Dockerfile
Docker/build_docker.sh
+9
-4
9 additions, 4 deletions
Docker/build_docker.sh
with
13 additions
and
5 deletions
Docker/Dockerfile
+
4
−
1
View file @
7d16b858
...
...
@@ -89,11 +89,14 @@ RUN mkdir /home/lofaruser/ && \
chown lofaruser:lofaruser /home/lofaruser
ARG
LSMTool_TAG=master
LABEL
LSMTool.version.tag=${LSMTool_TAG}
ARG
LoSoTo_TAG=master
LABEL
LoSoTo.version.tag=${LoSoTo_TAG}
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
git+https://github.com/revoltek/losoto.git
RUN
python3
-m
pip
install
-e
"
git+https://github.com/revoltek/losoto.git
@
${
LoSoTo_TAG
}
#egg=LoSoTo"
ADD
L570745_uv_first10.MS.tar.xz /data
ADD
skymodels.tar.gz /data/skymodels
...
...
This diff is collapsed.
Click to expand it.
Docker/build_docker.sh
+
9
−
4
View file @
7d16b858
...
...
@@ -5,20 +5,21 @@ git_clone_or_pull () {
REPO
=
$1
BRANCH
=
$2
DIR
=
$3
git clone
-single-branch
-b
"
${
BRANCH
}
"
"
${
REPO
}
"
"
${
DIR
}
"
2> /dev/null
||
git
-C
"
${
DIR
}
"
pull
git clone
-
-single-branch
-b
"
${
BRANCH
}
"
"
${
REPO
}
"
"
${
DIR
}
"
2> /dev/null
||
git
-C
"
${
DIR
}
"
pull
}
# SOFTWARE VERSIONS
DP3_TAG
=
v4.1
IDG_TAG
=
0.6
LSMTool_TAG
=
v1.4.2
LoSoTo_TAG
=
f0398b
# FETCHES THE IDG
git_clone_or_pull https://gitlab.com/astron-idg/idg/
${
IDG_TAG
}
idg
# 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 THE SCRIPTS ONLY
BRANCH
=
production
...
...
@@ -29,4 +30,8 @@ SCRIPT_PATH=$(realpath ${BASH_SOURCE[0]})
DOCKER_PATH
=
$(
dirname
${
SCRIPT_PATH
}
)
docker build
${
DOCKER_PATH
}
--build-arg
=
IDG_TAG
=
${
IDG_TAG
}
--build-arg
=
DP3_TAG
=
${
DP3_TAG
}
--build-arg
=
LSMTool_TAG
=
${
LSMTool_TAG
}
-t
lofareosc/prefactor-ci
docker build
${
DOCKER_PATH
}
--build-arg
=
IDG_TAG
=
${
IDG_TAG
}
\
--build-arg
=
DP3_TAG
=
${
DP3_TAG
}
\
--build-arg
=
LSMTool_TAG
=
${
LSMTool_TAG
}
\
--build-arg
=
LoSoTo_TAG
=
${
LoSoTo_TAG
}
\
-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