-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (23 loc) · 938 Bytes
/
Makefile
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
DATA_DIR=../mp-biopath-pathways
MP_BIOPATH_RELEASE="1.0.4"
.PHONY: build-env
build-env:
docker build --no-cache -t oicr/mpbiopath-env:latest -f docker/Dockerfile.env .
.PHONY: build-app
build-app:
docker build --no-cache -t oicr/mpbiopath:latest -f docker/Dockerfile.app .
.PHONY: run-bash
run-bash:
docker run -v ${PWD}/${DATA_DIR}:/data -v ${PWD}:/app -w /app -it oicr/mpbiopath-env:latest /bin/bash
.PHONY: run-tests
run-tests:
docker run -v ${PWD}:/app -w /app -it oicr/mpbiopath-env:latest julia tests/run.jl
.PHONY: build-app-release
build-app-release:
docker build --no-cache -t oicr/mpbiopath:${MP_BIOPATH_RELEASE} -f docker/Dockerfile.app .
.PHONY: run-bash-release
run-bash-release:
docker run -v ${PWD}/${DATA_DIR}:/data -v ${PWD}:/app -w /app -it oicr/${MP_BIOPATH_RELEASE} /bin/bash
.PHONY: run-tests-release
run-tests-release:
docker run -v ${PWD}:/app -w /app -it oicr/${MP_BIOPATH_RELEASE} julia tests/run.jl