aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile24
-rw-r--r--docker/README.md10
2 files changed, 34 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..b29d966
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,24 @@
+FROM ubuntu
+
+RUN apt-get update && apt-get install -y \
+ git \
+ mercurial \
+ subversion \
+ erlang \
+ build-essential \
+ autoconf \
+ automake \
+ curl \
+ python-sphinx \
+ asciidoc \
+ p7zip-full \
+ unzip
+
+COPY . /erlang.mk
+WORKDIR /erlang.mk
+
+# Run specific test-case with verbose output
+# RUN make check c=escript-deps V=4
+
+RUN make check -j 8 -k
+RUN make check LEGACY=1 -j 8 -k
diff --git a/docker/README.md b/docker/README.md
new file mode 100644
index 0000000..04cdaa3
--- /dev/null
+++ b/docker/README.md
@@ -0,0 +1,10 @@
+# Create Docker image to run erlang.mk tests
+* clone erlang.mk repository
+```
+git clone https://github.com/ninenines/erlang.mk.git
+cd erlang.mk
+```
+* in git working dir
+```
+docker build . -f docker/Dockerfile
+``` \ No newline at end of file