Skip to content

Instantly share code, notes, and snippets.

@kakkun61

kakkun61/Dockerfile

Created Sep 29, 2020
Embed
What would you like to do?
GHC 9.0.1 Alpha 1 on Windows
# escape=`
FROM mcr.microsoft.com/windows:2004
RUN curl -O https://www.7-zip.org/a/7z1900-x64.exe
RUN 7z1900-x64.exe /S /D=C:\7zip\
RUN curl -O https://downloads.haskell.org/ghc/9.0.1-alpha1/ghc-9.0.0.20200925-x86_64-unknown-mingw32.tar.xz
RUN 7zip\7z x ghc-9.0.0.20200925-x86_64-unknown-mingw32.tar.xz
RUN 7zip\7z x ghc-9.0.0.20200925-x86_64-unknown-mingw32.tar
CMD ghc-9.0.0.20200925-x86_64-unknown-mingw32\bin\ghc C:\work\Main.hs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment