Skip to content

Commit

Permalink
Merge branch 'fixed_docker' of github.com:toomore/gogrs
Browse files Browse the repository at this point in the history
  • Loading branch information
toomore committed Apr 8, 2017
2 parents c326a66 + a93be92 commit 44383d9
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
FROM golang:wheezy
FROM golang:latest
MAINTAINER Toomore Chiang <[email protected]>

RUN go get golang.org/x/tools/cmd/cover && \
go get golang.org/x/tools/cmd/vet && \
go get golang.org/x/tools/cmd/goimports && \
WORKDIR /go/src/github.com/toomore/gogrs/

ADD ./cmd ./cmd
ADD ./realtime ./realtime
ADD ./tradingdays ./tradingdays
ADD ./twse ./twse
ADD ./utils ./utils

ADD ./LICENSE ./
ADD ./README.md ./
ADD ./doc.go ./
ADD ./goclean.sh ./

RUN \
go get github.com/golang/lint/golint && \
go get github.com/toomore/gogrs && \
cd /go/src/github.com/toomore/gogrs && \
go get -v ./... && \
cd /go/src && \
rm -rf ./*
go get golang.org/x/tools/cmd/goimports && \
go get -v ./...

0 comments on commit 44383d9

Please sign in to comment.