Skip to content

Commit

Permalink
Fix cabal install command for prerequisites in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eelis committed Oct 23, 2018
1 parent 8971c63 commit 7390649
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -14,8 +14,9 @@ RUN /geordi/src/install-haskell
COPY install-gcc-trunk /geordi/src/
RUN /geordi/src/install-gcc-trunk

RUN mkdir -p ~/.cabal/bin # working around a cabal bug
RUN cabal update && cabal --ghc-option="-optl-no-pie" install --global cabal-install
RUN cabal update && cabal --ghc-option="-optl-no-pie" install --global --reorder-goals --allow-newer=process bytestring text deepseq mtl syb utf8-string network containers readline parsec Diff regex-compat base-unicode-symbols setops streams semigroups regex-posix template-haskell transformers pointed distributive comonad contravariant profunctors semigroupoids irc setlocale HTTP
RUN cabal update && cabal --ghc-option="-optl-no-pie" install --global --reorder-goals --allow-newer=process bytestring text deepseq mtl syb utf8-string network containers readline parsec Diff regex-compat base-unicode-symbols setops streams semigroups regex-posix template-haskell transformers pointed distributive comonad contravariant profunctors semigroupoids irc setlocale HTTP Cabal
# (We could rely on the list in geordi.cabal, but having these here shortens the development cycle when I'm testing changes in geordi.)

COPY src /geordi/src
Expand Down

0 comments on commit 7390649

Please sign in to comment.