File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
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 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}
You can’t perform that action at this time.
0 commit comments