Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added Dockerfile for Linux testing
  • Loading branch information
jacobstanley committed Jul 3, 2015
1 parent 98ee0e1 commit fc7f232
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
@@ -0,0 +1,3 @@
cabal.sandbox.config
.cabal-sandbox/
dist/
10 changes: 10 additions & 0 deletions Dockerfile
@@ -0,0 +1,10 @@
FROM jystic/centos6-ghc7.10.1

RUN cabal update
ADD . /opt/network-info
RUN cd /opt/network-info # && cabal install -j4

# Default Command for Container
WORKDIR /opt/network-info
CMD ["test/run-tests.sh"]
#CMD ["bash", "-lc", "cabal repl"]

0 comments on commit fc7f232

Please sign in to comment.