certificates/examples/docker/Makefile

25 lines
550 B
Makefile
Raw Normal View History

2018-11-12 11:46:07 -08:00
all: binaries build up
2018-11-09 17:27:36 -08:00
binaries:
2020-07-07 13:09:15 -07:00
CGO_ENABLED=0 GOOS=linux go build -o ca/step-ca github.com/smallstep/certificates/cmd/step-ca
2018-11-09 17:27:36 -08:00
build: build-nginx build-ca build-renewer
build-nginx:
docker build -t nginx-test:latest nginx
build-ca:
docker build -t step-ca-test:latest ca
build-renewer:
docker build -t step-renewer-test:latest renewer
2018-11-12 11:46:07 -08:00
up:
docker-compose up
down:
docker-compose down
2018-11-09 17:27:36 -08:00
inspect:
2018-11-12 12:19:17 -08:00
step certificate inspect https://localhost:4443 --insecure
.PHONY: all binaries up down inspect
.PHONY: build build-nginx build-ca build-renewer