Skip to content

Commit

Permalink
static build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyaxt committed Feb 18, 2017
1 parent a9df98e commit 1402594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -71,6 +71,6 @@ COPY . /go/src/github.com/nyaxt/otaru
WORKDIR /go/src/github.com/nyaxt/otaru

RUN cd /go/src/github.com/nyaxt/otaru/webui && npm install && bower --allow-root install && gulp && go-bindata -pkg webui dist/...
RUN go install github.com/nyaxt/otaru/cmd/... github.com/nyaxt/otaru/debugcmd/... github.com/nyaxt/otaru/gcloud/auth/otaru-gcloudauthcli
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go install github.com/nyaxt/otaru/cmd/... github.com/nyaxt/otaru/debugcmd/... github.com/nyaxt/otaru/gcloud/auth/otaru-gcloudauthcli

CMD cp /go/bin/otaru* /out/

0 comments on commit 1402594

Please sign in to comment.