forked from harness/harness
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
07b9106
commit 64663e9
Showing
7 changed files
with
19 additions
and
24 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
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 |
---|---|---|
@@ -1,18 +1,10 @@ | ||
# Docker image for Drone's git-clone plugin | ||
# Docker image for Drone's slack notification plugin | ||
# | ||
# CGO_ENABLED=0 go build -a -tags netgo | ||
# docker build --rm=true -t drone/drone-build . | ||
|
||
FROM library/golang:1.4 | ||
FROM gliderlabs/alpine:3.1 | ||
RUN apk-install ca-certificates | ||
ADD drone-build /bin/ | ||
ENTRYPOINT ["/bin/drone-build"] | ||
|
||
# copy the local package files to the container's workspace. | ||
#ADD . /go/src/github.com/drone/drone-build/ | ||
|
||
# build the program inside the container. | ||
#RUN go get github.com/drone/drone-build/... && \ | ||
# go install github.com/drone/drone-build | ||
|
||
|
||
ADD drone-build /go/bin/ | ||
|
||
# run the git-clone plugin when the container starts | ||
ENTRYPOINT ["/go/bin/drone-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
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
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