2014-12-08 16:46:40 -08:00
|
|
|
FROM golang:1.3-cross
|
2014-12-19 10:11:58 -05:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends openssh-client
|
2015-01-30 16:45:44 -08:00
|
|
|
|
|
|
|
|
# TODO: Vendor these `go get` commands using Godep.
|
2014-12-08 16:46:40 -08:00
|
|
|
RUN go get github.com/mitchellh/gox
|
2014-12-09 16:45:23 -08:00
|
|
|
RUN go get github.com/aktau/github-release
|
2014-12-19 10:11:58 -05:00
|
|
|
RUN go get github.com/tools/godep
|
2015-01-31 16:03:20 -05:00
|
|
|
RUN go get code.google.com/p/go.tools/cmd/cover
|
2015-01-30 16:45:44 -08:00
|
|
|
|
2014-12-08 16:46:40 -08:00
|
|
|
ENV GOPATH /go/src/github.com/docker/machine/Godeps/_workspace:/go
|
2015-01-22 18:05:52 +00:00
|
|
|
ENV MACHINE_BINARY /go/src/github.com/docker/machine/docker-machine
|
2015-02-02 16:19:11 -05:00
|
|
|
ENV USER root
|
2015-01-30 16:45:44 -08:00
|
|
|
|
2014-12-08 16:46:40 -08:00
|
|
|
WORKDIR /go/src/github.com/docker/machine
|
2015-01-30 16:45:44 -08:00
|
|
|
|
2014-12-08 16:46:40 -08:00
|
|
|
ADD . /go/src/github.com/docker/machine
|