yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.51k stars 201 forks source link

Feature request: docker image #1025

Open chrissound opened 7 years ago

chrissound commented 7 years ago

I did try to make a docker image previously but couldn't figure out all the dependencies.

I think this would be a great feature - and make it very easy / convenient for new users to try out the editor.

chrissound commented 7 years ago

Here is the Dockerfile:

FROM haskell:8.0.2
RUN cabal update && stack update
RUN apt-get update
RUN apt-get install -y libicu-dev 
RUN stack install gtk2hs-buildtools
ADD stack.yaml .
RUN apt-get install -y pkg-config
ADD stack.yaml .
RUN stack install yi
ENTRYPOINT yi

https://github.com/yi-editor/yi/issues/983