Fix swagger-gen.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-11-02 10:48:34 -04:00
parent 78a83a2269
commit 252963bd3f

View file

@ -140,6 +140,8 @@ win: build ## cross build the binary for windows
.PHONY: swagger-gen
swagger-gen:
docker run --rm -v $(PWD):/work -w /work \
docker run --rm -v $(PWD):/go/src/github.com/docker/docker \
-w /go/src/github.com/docker/docker \
--entrypoint hack/generate-swagger-api.sh \
-e GOPATH=/go \
quay.io/goswagger/swagger