Skip to content

Commit

Permalink
[docker]: ADD instead of clone
Browse files Browse the repository at this point in the history
  • Loading branch information
np committed Nov 19, 2014
1 parent be9e888 commit 2d1f14b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
.gup
.gitignore
dist
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d1f14b

Please sign in to comment.