Merge pull request #204 from denheck/master

Koans for Docker users
This commit is contained in:
Felipe Seré
2019-01-01 10:51:05 +00:00
committed by GitHub
3 changed files with 11 additions and 0 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
lib/koans
_build

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM elixir:1.5
RUN apt-get update && apt-get install -y inotify-tools
WORKDIR /elixir-koans
ADD . /elixir-koans/
RUN mix local.hex --force
RUN mix deps.get
CMD mix meditate

2
docker.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
docker build -t elixir-koans . && docker run --rm -v `pwd`:/elixir-koans -ti elixir-koans