Skip to content

Commit

Permalink
Use socket-io-1.3.0 from Hackage
Browse files Browse the repository at this point in the history
  • Loading branch information
timjb committed Dec 31, 2014
1 parent f28c936 commit 2ffa555
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
FROM haskell:7.8

RUN cabal update
RUN apt-get install -y wget
RUN cd /opt && \
wget --no-check-certificate http://github.com/ocharles/engine.io/archive/variadic-on.tar.gz && \
tar xvzf variadic-on.tar.gz && mv engine.io-variadic-on engine.io
ADD ./backends/haskell/ot-demo.cabal /opt/ot-demo/backends/haskell/ot-demo.cabal
RUN cd /opt/ot-demo/backends/haskell && \
cabal sandbox init && \
cabal sandbox add-source /opt/engine.io/socket-io && \
cabal install --only-dependencies
ADD ./backends/haskell /opt/ot-demo/backends/haskell
RUN cd /opt/ot-demo/backends/haskell && cabal build
Expand Down
2 changes: 1 addition & 1 deletion backends/haskell/ot-demo.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ executable ot-demo
concurrent-extra >= 0.7,
engine-io >= 1.2.3 && < 1.3,
engine-io-yesod >= 1.0.1 && < 1.1,
socket-io == 1.1.1,
socket-io >= 1.3.0 && < 1.4,
text,
aeson >= 0.7 && < 0.9,
containers,
Expand Down

0 comments on commit 2ffa555

Please sign in to comment.