Merge pull request #419 from thaJeztah/easier-testing-in-container

Add "build" dir to PATH in dev-container
This commit is contained in:
Kenfe-Mickaël Laventure 2017-08-07 16:25:19 +02:00 committed by GitHub
commit e0f1e4d5d7
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 . && \ 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