mirror of https://github.com/docker/cli.git
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:
parent
f7b78dc137
commit
7a0b49df23
|
@ -24,6 +24,7 @@ RUN go get -d github.com/dnephin/filewatcher && \
|
||||||
go build -v -o /usr/bin/filewatcher . && \
|
go build -v -o /usr/bin/filewatcher . && \
|
||||||
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
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
|
WORKDIR /go/src/github.com/docker/cli
|
||||||
CMD sh
|
CMD sh
|
||||||
|
|
Loading…
Reference in New Issue