We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5978e62 commit cecd41bCopy full SHA for cecd41b
Makefile
@@ -14,8 +14,8 @@ test: test-registry test-images
14
# Starts a local Docker registry on port 5000 with a local disk cache.
15
.PHONY: test-registry
16
test-registry: .registry-cache
17
- if [ ! curl -fsSL http://localhost:5000/v2/_catalog >/dev/null 2>&1 ]; then \
18
- docker rm -f envbuilder-registry; \
+ if ! curl -fsSL http://localhost:5000/v2/_catalog > /dev/null 2>&1; then \
+ docker rm -f envbuilder-registry && \
19
docker run -d -p 5000:5000 --name envbuilder-registry --volume $(PWD)/.registry-cache:/var/lib/registry registry:2; \
20
fi
21
0 commit comments