diff --git a/Dockerfile b/Dockerfile index b605e5a..280b5c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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...