Created
February 21, 2019 16:08
-
-
Save armand1m/3f944348b133ef585d94b0bb475d81e8 to your computer and use it in GitHub Desktop.
Dockerfile with pre configured environment for playing with Fable F#
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mono:latest | |
RUN apt-get update | |
RUN apt-get install -y apt-transport-https | |
RUN curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg | |
RUN mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ | |
RUN curl -slO https://packages.microsoft.com/config/debian/8/prod.list | |
RUN mv prod.list /etc/apt/sources.list.d/microsoft-prod.list | |
RUN chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg | |
RUN chown root:root /etc/apt/sources.list.d/microsoft-prod.list | |
RUN apt-get update | |
RUN apt-get install -y git-core dotnet-sdk-2.1 | |
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - | |
RUN apt-get install -y nodejs | |
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
RUN apt-get update | |
RUN apt-get install -y yarn | |
RUN dotnet new -i Fable.Template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment