Add "build" dir to PATH in dev-container

This makes running the client easier inside
the container; allowing to use just `docker`
instead of `build/docker`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-08-05 03:24:21 +02:00
parent f7b78dc137
commit 7a0b49df23
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ RUN go get -d github.com/dnephin/filewatcher && \
go build -v -o /usr/bin/filewatcher . && \
rm -rf /go/src/* /go/pkg/* /go/bin/*
ENV CGO_ENABLED=0
ENV CGO_ENABLED=0 \
PATH=$PATH:/go/src/github.com/docker/cli/build
WORKDIR /go/src/github.com/docker/cli
CMD sh