mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
4990ab01f0
Add test script to run through each endpoint. Add certificates for non-localhost hostname. Requires setting /etc/hosts. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
25 lines
395 B
Makefile
25 lines
395 B
Makefile
.PHONY: build test
|
|
|
|
build:
|
|
docker-compose build
|
|
|
|
start: build
|
|
docker-compose up -d
|
|
|
|
stop:
|
|
docker-compose stop
|
|
|
|
clean:
|
|
docker-compose kill
|
|
docker-compose rm -f
|
|
|
|
install:
|
|
sh ./install_certs.sh localhost
|
|
sh ./install_certs.sh localregistry
|
|
|
|
test:
|
|
@echo "!!!!Ensure /etc/hosts entry is updated for localregistry and make install has been run"
|
|
sh ./test_docker.sh localregistry
|
|
|
|
all: build
|