From 2d1f14be93f296f78584f7919f6c6fb9a6fa2523 Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Wed, 19 Nov 2014 22:53:32 +0100 Subject: [PATCH] [docker]: ADD instead of clone --- .dockerignore | 4 ++++ Dockerfile | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..de7d7c9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.git +.gup +.gitignore +dist diff --git a/Dockerfile b/Dockerfile index 021cc97..16542b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,8 @@ FROM quay.io/np__/haskell MAINTAINER Nicolas Pouillard [https://nicolaspouillard.fr] -RUN apt-get update && apt-get install ${OPTS_APT} git -RUN git clone https://github.com/np/hx /hx -RUN git clone https://github.com/np/hx /hx +#RUN apt-get update && apt-get install ${OPTS_APT} git +ADD . /hx WORKDIR /hx RUN cabal update && cabal install RUN curl -O cmdcheck https://github.com/np/cmdcheck/raw/master/cmdcheck