File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed
Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1+ Dockerfile
12* .workflow.json
23cromwell- *
34WorkflowStore
Original file line number Diff line number Diff line change 1- FROM quay.io/ucsc_cgl/quinine
1+ FROM quay.io/ucsc_cgl/quinine:QUININE_TAG
22
33MAINTAINER Frank Austin Nothaft,
[email protected] 44
Original file line number Diff line number Diff line change 11# Definitions
22runtime_fullpath = $(realpath runtime)
33build_tool = runtime-container.DONE
4- git_commit ?= $(shell git log --pretty=oneline -n 1 -- ../quinine-pipelines | cut -f1 -d " ")
4+ git_commit ?= $(shell git log --pretty=oneline -n 1 -- ../quinine-pipelines ../quinine | cut -f1 -d " ")
55name = quay.io/ucsc_cgl/quinine-pipelines
66tag = 716dd26cf6252a6db60afa25aaf7cf9ee9896b21--${git_commit}
7-
7+ quinine_tag = $( shell cd ../quinine && make print_tag)
88workflows = contamination.workflow.json rna.workflow.json targeted.workflow.json
99
10- build :
10+ Dockerfile : Dockerfile.template
11+ sed -e " s:QUININE_TAG:${quinine_tag} :g" Dockerfile.template > Dockerfile
12+
13+ build : Dockerfile
1114 docker build -t ${name} :${tag} .
1215 docker tag -f ${name} :${tag} ${name} :latest
1316 touch ${build_tool}
@@ -24,4 +27,4 @@ test: build ${workflows}
2427 sed -e " s:PWD:${PWD} :g" $< > $@
2528
2629clean :
27- -rm ${build_tool} * .workflow.json
30+ -rm ${build_tool} * .workflow.json Dockerfile
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ build_tool = runtime-container.DONE
77build_number ?= none
88git_commit ?= $(shell git rev-parse HEAD)
99name = quay.io/ucsc_cgl/quinine
10- tag = 2800f76fb66120a76de74c23ec928ef9231ad83c --${git_commit}
10+ tag = 65bdfae289e2be6874108923e08ce073ce090a8e --${git_commit}
1111
1212# Steps
1313build : ${build_output} ${build_tool}
2929 rm -rf runtime/quinine ${build_tool}
3030 docker rmi -f ${name} -build:${tag} ${name} :${tag}
3131
32+ print_tag :
33+ @echo ${tag}
34+
3235push : build
3336 # Requires ~/.dockercfg
3437 docker push ${name} :${tag}
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ RUN git clone https://github.com/bigdatagenomics/quinine.git
99
1010# build quinine
1111WORKDIR /home/quinine
12- RUN git checkout 2800f76fb66120a76de74c23ec928ef9231ad83c
12+ RUN git checkout 65bdfae289e2be6874108923e08ce073ce090a8e
1313
1414RUN /opt/apache-maven-3.3.9/bin/mvn package -DskipTests
You can’t perform that action at this time.
0 commit comments