aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-21 11:21:03 +0200
committerLoïc Hoguin <[email protected]>2020-04-21 11:21:03 +0200
commitc17d8624dbae513a66d14a244964172341123523 (patch)
tree72c63977ba98c1f9ccc4cc12708ab8989bf1279b /etc
parent2c2b9d3a0df19ca05e1da462b36eda7f2d050153 (diff)
downloaderlang.mk-c17d8624dbae513a66d14a244964172341123523.tar.gz
erlang.mk-c17d8624dbae513a66d14a244964172341123523.tar.bz2
erlang.mk-c17d8624dbae513a66d14a244964172341123523.zip
Move docker directory to etc/
Diffstat (limited to 'etc')
-rw-r--r--etc/docker/Dockerfile25
-rw-r--r--etc/docker/README.md10
2 files changed, 35 insertions, 0 deletions
diff --git a/etc/docker/Dockerfile b/etc/docker/Dockerfile
new file mode 100644
index 0000000..46abe85
--- /dev/null
+++ b/etc/docker/Dockerfile
@@ -0,0 +1,25 @@
+FROM ubuntu
+
+RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
+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/etc/docker/README.md b/etc/docker/README.md
new file mode 100644
index 0000000..04cdaa3
--- /dev/null
+++ b/etc/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