FROM golang:1.8.3 RUN apt-get update && apt-get install -y --no-install-recommends \ openssh-client \ rsync \ && rm -rf /var/lib/apt/lists/* RUN go get github.com/golang/lint/golint \ github.com/mattn/goveralls \ golang.org/x/tools/cover ENV USER root WORKDIR /go/src/github.com/docker/machine COPY . ./ RUN mkdir bin