From 7a0b49df23a62cefa0ca73353d1cb7653d2b0728 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 5 Aug 2017 03:24:21 +0200 Subject: [PATCH] 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 --- dockerfiles/Dockerfile.dev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfiles/Dockerfile.dev b/dockerfiles/Dockerfile.dev index 7f9482e612..5b9d35f516 100644 --- a/dockerfiles/Dockerfile.dev +++ b/dockerfiles/Dockerfile.dev @@ -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