-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 785 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Building docker image
VERSION = "v0.0.1"
IM=matentzn/vfb-pipeline-dumps
OUTDIR=~/data/vfb
SPARQL_ENDPOINT=http://ts.p2.virtualflybrain.org/rdf4j-server/repositories/vfb
docker-build-no-cache:
@docker build --no-cache -t $(IM):$(VERSION) . \
&& docker tag $(IM):$(VERSION) $(IM):latest
docker-build:
@docker build -t $(IM):$(VERSION) . \
&& docker tag $(IM):$(VERSION) $(IM):latest
docker-run:
docker run --volume $(OUTDIR):/out --env=ROBOT_JAVA_ARGS='-Xmx8G' $(IM)
docker-clean:
docker kill $(IM) || echo not running ;
docker rm $(IM) || echo not made
docker-publish-no-build:
@docker push $(IM):$(VERSION) \
&& docker push $(IM):latest
docker-publish: docker-build-use-cache
@docker push $(IM):$(VERSION) \
&& docker push $(IM):latest
#include dumps.Makefile