Public Repository

Last pushed: 2 years ago
Short Description
extending icecrime/fsharp, provides an environment to restore nuget packages in a .sln
Full Description

Building on https://github.com/icecrime/fsharp-docker, this image provides an environment to restore nuget packages and build a visual studio solution.

Dockerfile:

FROM icecrime/fsharp

MAINTAINER Michael W. Martin mwm.cal@gmail.com

WORKDIR /app

ONBUILD ADD . /app

RUN apt-get update && /
apt-get install -y curl

RUN mozroots --import --sync

RUN curl -L http://nuget.org/nuget.exe -o nuget.exe

CMD []

Usage: ( pulled from https://github.com/anaerobic/fsharp-kafka-simple )

FROM anaerobic/fsharp-runtime-nuget

RUN mono nuget.exe restore

RUN xbuild /p:BuildWithMono="true" FSharpKafkaProducer.sln

CMD []

ENTRYPOINT ["mono", "FSharpKafkaProducer/bin/Debug/FSharpKafkaProducer.exe"]

Docker Pull Command
Owner
anaerobic

Comments (0)