Fix swagger-gen.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
78a83a2269
commit
252963bd3f
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue