Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bayeswave
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Arianna Renzini
bayeswave
Commits
3c333bb1
Commit
3c333bb1
authored
3 years ago
by
James Alexander Clark PhD
Browse files
Options
Downloads
Patches
Plain Diff
Copy src into place - cloning from the current commit doesn't work in all use cases
parent
d249dbc0
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+14
-9
14 additions, 9 deletions
Dockerfile
with
14 additions
and
9 deletions
Dockerfile
+
14
−
9
View file @
3c333bb1
...
...
@@ -12,16 +12,21 @@ LABEL org.label-schema.vcs-url="https://git.ligo.org/lscsoft/bayeswave"
LABEL
org.label-schema.build-date="${BUILD_DATE}"
LABEL
org.label-schema.vcs-ref="${CI_COMMIT_SHA}"
# Install the current commit
RUN
git clone https://git.ligo.org/james-clark/bayeswave.git
&&
\
cd
bayeswave
&&
\
git checkout
${
CI_COMMIT_SHA
}
&&
\
./build.sh
&&
\
pip
install
./BayesWaveUtils
&&
\
cd
..
&&
rm
-rf
bayeswave
# Copy all the source into /tmp which we will empty later
COPY
. /tmp
# No longer need git
RUN
yum remove
-y
git
RUN
cd
/tmp
&&
\
mkdir
-p
build
&&
\
pushd
build
&&
\
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
true
&&
\
cmake
--build
.
--
VERBOSE
=
1
&&
\
cmake
--build
.
--target
install
&&
\
popd
&&
\
pip
install
--no-cache
/tmp/BayesWaveUtils
&&
\
rm
-rf
/tmp/
*
## Directories we may want to bind
RUN
mkdir
-p
/cvmfs /hdfs /hadoop /etc/condor /test
...
...
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