diff options
author | Stanislav Ovchar <[email protected]> | 2018-03-30 16:51:01 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-04 17:41:52 +0200 |
commit | b20df2d7fb690181d10393c97d6103bf2fd0aa86 (patch) | |
tree | d131c3e8acedfc15eed59ba55310146f52009698 | |
parent | fb4e8687f2c5e55ccead797588fed018bcae646b (diff) | |
download | erlang.mk-b20df2d7fb690181d10393c97d6103bf2fd0aa86.tar.gz erlang.mk-b20df2d7fb690181d10393c97d6103bf2fd0aa86.tar.bz2 erlang.mk-b20df2d7fb690181d10393c97d6103bf2fd0aa86.zip |
Add dockerfile to support development on linux
-rw-r--r-- | docker/Dockerfile | 24 | ||||
-rw-r--r-- | docker/README.md | 10 |
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 |