-
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.
Merge pull request #4 from tianon/onbuild
Fix a few minor issues with ONBUILD variants
- Loading branch information
Showing
3 changed files
with
6 additions
and
9 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 |
---|---|---|
|
@@ -2,11 +2,10 @@ FROM mono:3.10.0 | |
|
||
MAINTAINER Jo Shields <[email protected]> | ||
|
||
RUN mkdir -p /usr/src/app/{source,build} | ||
RUN mkdir -p /usr/src/app/source /usr/src/app/build | ||
WORKDIR /usr/src/app/source | ||
|
||
ONBUILD ADD . /usr/src/app/source | ||
ONBUILD COPY . /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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,10 @@ FROM mono:3.12.0 | |
|
||
MAINTAINER Jo Shields <[email protected]> | ||
|
||
RUN mkdir -p /usr/src/app/{source,build} | ||
RUN mkdir -p /usr/src/app/source /usr/src/app/build | ||
WORKDIR /usr/src/app/source | ||
|
||
ONBUILD ADD . /usr/src/app/source | ||
ONBUILD COPY . /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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,10 @@ FROM mono:3.8.0 | |
|
||
MAINTAINER Jo Shields <[email protected]> | ||
|
||
RUN mkdir -p /usr/src/app/{source,build} | ||
RUN mkdir -p /usr/src/app/source /usr/src/app/build | ||
WORKDIR /usr/src/app/source | ||
|
||
ONBUILD ADD . /usr/src/app/source | ||
ONBUILD COPY . /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 |