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
7bca9893
Commit
7bca9893
authored
8 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #8475: Added lofar-pulp Docker image to build on top of pulp:latest
parent
24910da9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
Docker/CMakeLists.txt
+2
-0
2 additions, 0 deletions
Docker/CMakeLists.txt
Docker/lofar-pulp/Dockerfile.tmpl
+36
-0
36 additions, 0 deletions
Docker/lofar-pulp/Dockerfile.tmpl
with
39 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
7bca9893
...
@@ -2369,6 +2369,7 @@ Docker/lofar-base/bashrc.d/50-lofar -text
...
@@ -2369,6 +2369,7 @@ Docker/lofar-base/bashrc.d/50-lofar -text
Docker/lofar-base/chuser.sh -text
Docker/lofar-base/chuser.sh -text
Docker/lofar-outputproc/Dockerfile.tmpl -text
Docker/lofar-outputproc/Dockerfile.tmpl -text
Docker/lofar-pipeline/Dockerfile.tmpl -text
Docker/lofar-pipeline/Dockerfile.tmpl -text
Docker/lofar-pulp/Dockerfile.tmpl -text
Docker/lofar-tbbwriter/Dockerfile -text
Docker/lofar-tbbwriter/Dockerfile -text
Docker/lofar-tbbwriter/bashrc -text
Docker/lofar-tbbwriter/bashrc -text
Docker/lofar-tbbwriter/chuser.sh -text
Docker/lofar-tbbwriter/chuser.sh -text
...
...
This diff is collapsed.
Click to expand it.
Docker/CMakeLists.txt
+
2
−
0
View file @
7bca9893
...
@@ -25,6 +25,7 @@ lofar_add_bin_program(versiondocker versiondocker.cc)
...
@@ -25,6 +25,7 @@ lofar_add_bin_program(versiondocker versiondocker.cc)
set
(
DOCKER_TEMPLATE_DIRS
set
(
DOCKER_TEMPLATE_DIRS
lofar-base
lofar-base
lofar-pipeline
lofar-pipeline
lofar-pulp
lofar-outputproc
)
lofar-outputproc
)
# Note: "docker-template" only works as long as the sources are still around,
# Note: "docker-template" only works as long as the sources are still around,
...
@@ -59,6 +60,7 @@ endforeach()
...
@@ -59,6 +60,7 @@ endforeach()
install
(
DIRECTORY
install
(
DIRECTORY
lofar-base
lofar-base
lofar-pipeline
lofar-pipeline
lofar-pulp
lofar-outputproc
lofar-outputproc
lofar-tbbwriter
lofar-tbbwriter
DESTINATION share/docker
DESTINATION share/docker
...
...
This diff is collapsed.
Click to expand it.
Docker/lofar-pulp/Dockerfile.tmpl
0 → 100644
+
36
−
0
View file @
7bca9893
#
# base
#
FROM pulp:latest
# Run-time dependencies
RUN sudo apt-get update && sudo apt-get install -y python-xmlrunner liblog4cplus-1.0-4 libxml2 libxml++2.6-2 openssh-client gettext-base rsync python-matplotlib
#
# *******************
# LOFAR
# *******************
#
# Tell image build information
ENV LOFAR_BRANCH=${LOFAR_BRANCH_NAME} \
LOFAR_TAG=${LOFAR_TAG} \
LOFAR_REVISION=${LOFAR_REVISION} \
LOFAR_BUILDVARIANT=gnu_optarch
# Install
RUN sudo apt-get update && sudo apt-get install -y subversion cmake g++ gfortran bison flex liblog4cplus-dev libhdf5-dev libblitz0-dev python-dev libxml2-dev pkg-config libunittest++-dev libxml++2.6-dev binutils-dev && \
mkdir -p ${INSTALLDIR}/lofar/build/${LOFAR_BUILDVARIANT} && \
cd ${INSTALLDIR}/lofar && \
svn --non-interactive -q co -r ${LOFAR_REVISION} -N ${LOFAR_BRANCH_URL} src; \
svn --non-interactive -q up src/CMake && \
cd ${INSTALLDIR}/lofar/build/${LOFAR_BUILDVARIANT} && cmake -DBUILD_PACKAGES=Pipeline -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/lofar/ -DCASACORE_ROOT_DIR=${INSTALLDIR}/casacore/ -DQPID_ROOT_DIR=/opt/qpid/ -DUSE_OPENMP=True ${INSTALLDIR}/lofar/src/ && \
cd ${INSTALLDIR}/lofar/build/${LOFAR_BUILDVARIANT} && make -j ${J} && \
cd ${INSTALLDIR}/lofar/build/${LOFAR_BUILDVARIANT} && make install && \
bash -c "mkdir -p ${INSTALLDIR}/lofar/var/{log,run}" && \
bash -c "chmod a+rwx ${INSTALLDIR}/lofar/var/{log,run}" && \
bash -c "strip ${INSTALLDIR}/lofar/{bin,sbin,lib64}/* || true" && \
bash -c "rm -rf ${INSTALLDIR}/lofar/{build,src}" && \
sudo apt-get purge -y subversion cmake g++ gfortran bison flex liblog4cplus-dev libhdf5-dev libblitz0-dev python-dev libxml2-dev pkg-config libunittest++-dev libxml++2.6-dev binutils-dev && \
sudo apt-get autoremove -y
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