-
Notifications
You must be signed in to change notification settings - Fork 266
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
tobe
committed
Oct 16, 2014
1 parent
9825b11
commit 0d31a28
Showing
1 changed file
with
23 additions
and
0 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,23 @@ | ||
FROM golang | ||
MAINTAINER tobe [email protected] | ||
|
||
# ENV GOPATH /go | ||
|
||
RUN go get github.com/astaxie/beego | ||
RUN go get github.com/beego/bee | ||
|
||
# apt-get install -y git | ||
|
||
# ADD . /go/src/github.com/tobegit3hub/ | ||
RUN git clone https://github.com/tobegit3hub/seagull.git /go/src/github.com/tobegit3hub/seagull/ | ||
|
||
WORKDIR /go/src/github.com/tobegit3hub/seagull/ | ||
|
||
RUN go build seagull.go | ||
|
||
EXPOSE 10086 | ||
|
||
CMD ["./seagull"] | ||
|
||
|
||
|