Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit b14e5f3

Browse files
committed
nits
Signed-off-by: Simon Ferquel <[email protected]>
1 parent 0f5ce53 commit b14e5f3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docker.Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ lint: ## run linter(s)
111111
vendor: build_dev_image
112112
$(info Update Vendoring...)
113113
rm -rf ./vendor
114-
docker rm -f docker-app-vendoring || echo ""
114+
docker rm -f docker-app-vendoring || true
115115
docker create --name docker-app-vendoring -v docker-app-vendor-cache://dep-cache -e DEPCACHEDIR=//dep-cache $(DEV_IMAGE_NAME) sh -c "rm -rf ./vendor && make vendor"
116116
docker start -i -a docker-app-vendoring
117117
docker cp docker-app-vendoring:/go/src/github.com/docker/app/vendor .
@@ -120,8 +120,10 @@ vendor: build_dev_image
120120
$(warning You may need to reset permissions on vendor/*)
121121

122122
clean-vendor-cache:
123-
docker rm -f docker-app-vendoring || echo ""
124-
docker volume rm -f docker-app-vendor-cachecheck-vendor: build_dev_image
123+
docker rm -f docker-app-vendoring || true
124+
docker volume rm -f docker-app-vendor-cache
125+
126+
check-vendor: build_dev_image
125127
$(info Check Vendoring...)
126128
docker run --rm $(DEV_IMAGE_NAME) sh -c "make vendor && hack/check-git-diff vendor"
127129

0 commit comments

Comments
 (0)