1
0
mirror of https://github.com/docker/cli.git synced 2026-01-22 03:22:01 +03:00

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

Add "build" dir to PATH in dev-container
Upstream-commit: e0f1e4d5d7
Component: cli
This commit is contained in:
Kenfe-Mickaël Laventure
2017-08-07 16:25:19 +02:00
committed by GitHub

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