forked from CenturyLinkLabs/golang-builder
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for the onbuild trigger or not
Some builds would like to copy the source themselves.
- Loading branch information
Russ Egan
committed
Apr 8, 2015
1 parent
d10d92e
commit 8518733
Showing
4 changed files
with
17 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 |
---|---|---|
|
@@ -14,6 +14,4 @@ COPY build.sh / | |
|
||
ENTRYPOINT ["/build_environment.sh"] | ||
|
||
ONBUILD COPY ./ /src | ||
|
||
CMD ["/build.sh"] |
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,6 @@ | ||
FROM safenetlabs/golang:1.4.2 | ||
MAINTAINER SafeNet Labs | ||
|
||
ONBUILD COPY ./ /src | ||
CMD ["/build.sh"] |
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
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