summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2023-12-12 15:04:37 +0100
committerNao Pross <np@0hm.ch>2023-12-12 15:04:37 +0100
commit95356986d88371f850cc400559be649cd52d90fd (patch)
treec37df9c1fcf2bfb5fcc04798d11f121aa9d9917e /Makefile
parentfall2023 (diff)
downloadact4e-mcdp-95356986d88371f850cc400559be649cd52d90fd.tar.gz
act4e-mcdp-95356986d88371f850cc400559be649cd52d90fd.zip
Add Dockerfile without VSCode and Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..db1c1a7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+tag=act4e-image-mcdp
+
+.PHONY: build shell check hotfix-test
+
+build: Dockerfile act4e-mcdp-hotfix
+ docker build -f Dockerfile -t $(tag) .
+
+shell: build
+ docker run -it --rm $(tag) /bin/bash
+
+check: build
+ docker run -it --rm $(tag) /bin/bash -c "act4e-mcdp-download-tests --out downloaded && act4e-mcdp-solve-dp-queries --solver act4e_mcdp_solution.DPSolver ./downloaded/lib1-parts"
+
+hotfix-test: build
+ docker run -it --rm $(tag) act4e-mcdp-download-tests