-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM debian:wheezy | ||
|
||
MAINTAINER Jo Shields <[email protected]> | ||
|
||
#based on dockerfile by Michael Friis <[email protected]> | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | ||
|
||
RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.12.0 main" > /etc/apt/sources.list.d/mono-xamarin.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y mono-devel fsharp mono-vbnc nuget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mozroots --machine --import --sync --quiet | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM mono:3.12.0 | ||
|
||
MAINTAINER Jo Shields <[email protected]> | ||
|
||
RUN mkdir -p /usr/src/app/{source,build} | ||
WORKDIR /usr/src/app/source | ||
|
||
ONBUILD ADD . /usr/src/app/source | ||
ONBUILD RUN nuget restore -NonInteractive | ||
ONBUILD RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/build/ | ||
ONBUILD RUN rm -rf /usr/src/app/source | ||
ONBUILD WORKDIR /usr/src/app/build |
This file contains 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