From 25cb844d4417a48d786c110f8f380c06f270f193 Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Thu, 20 Nov 2014 17:10:28 +0100 Subject: [PATCH] [docker] the tests should work now --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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...