Skip to content

Commit

Permalink
[docker] the tests should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
np committed Nov 20, 2014
1 parent eadee16 commit 25cb844
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ FROM quay.io/np__/haskell

MAINTAINER Nicolas Pouillard [https://nicolaspouillard.fr]

ADD https://github.com/np/cmdcheck/raw/master/cmdcheck /usr/bin/cmdcheck
RUN cabal update && cabal install haskoin base16-bytestring scientific binary RFC1751 aeson

ADD . /hx
WORKDIR /hx
RUN cabal install
#RUN chmod +x /usr/bin/cmdcheck && /usr/bin/cmdcheck tests/*.t
ADD https://github.com/np/cmdcheck/raw/master/cmdcheck /hx/cmdcheck
RUN chmod +x /hx/cmdcheck && \
PATH=/hx/dist/build/hx:$PATH \
/usr/bin/cmdcheck tests/*.t
#RUN apt-get update && apt-get install ${OPTS_APT} lib-ghc...

0 comments on commit 25cb844

Please sign in to comment.