This comes in handy, when wanting to use volumes with drivers that don't support folder sharing (such as KVM, as opposed to VirtualBox) You will need FUSE and SSHFS installed, in order to use this feature. The machine will also need a "sftp" binary, but most of them have it. Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
19 lines
434 B
Docker
19 lines
434 B
Docker
FROM golang:1.8.3
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
openssh-client \
|
|
rsync \
|
|
fuse \
|
|
sshfs \
|
|
&& 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
|