Skip to content

Commit

Permalink
[docker] ADD cmdcheck, cabal install before ADD .
Browse files Browse the repository at this point in the history
  • Loading branch information
np committed Nov 19, 2014
1 parent ce1e31f commit bfd8556
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ FROM quay.io/np__/haskell

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

#RUN apt-get update && apt-get install ${OPTS_APT} git
ADD . /hx
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 update && cabal install
RUN curl -O cmdcheck https://github.com/np/cmdcheck/raw/master/cmdcheck
RUN ./cmdcheck tests/*.t
RUN cabal install
RUN /usr/bin/cmdcheck tests/*.t
#RUN apt-get update && apt-get install ${OPTS_APT} lib-ghc...

0 comments on commit bfd8556

Please sign in to comment.