-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses golang docker image to test the go build
- Loading branch information
Showing
4 changed files
with
12 additions
and
19 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
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,9 +1,6 @@ | ||
# Before building, execute the following from the root folder of the project: | ||
# | ||
# docker run --rm -v `pwd`/popper:/app -w /app treeder/go vendor | ||
# docker run --rm -v `pwd`/popper:/app -w /app treeder/go build | ||
|
||
FROM iron/base | ||
WORKDIR /app | ||
COPY app /app/popper | ||
ENTRYPOINT ["./popper"] | ||
FROM golang:1.9 | ||
ADD . /go/src/github.com/systemslab/popper | ||
WORKDIR /go/src/github.com/systemslab/popper | ||
RUN go get ./ | ||
RUN go build | ||
ENTRYPOINT ["/go/bin/popper"] |