From bfd8556f1a16c1824cc6bd48f23655cdd505e76c Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Wed, 19 Nov 2014 23:22:29 +0100 Subject: [PATCH] [docker] ADD cmdcheck, cabal install before ADD . --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16542b2..e4e0aba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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...