smallstep-certificates/examples/docker/Makefile
Mariano Cano 0d4f96c1d9 Update renew with force flag.
Clean old certificates in volumes on start.
2018-11-20 16:47:08 -08:00

26 lines
607 B
Makefile

all: binaries build up
binaries:
GOOS=linux go build -o ca/step-ca github.com/smallstep/certificates/cmd/step-ca
GOOS=linux go build -o renewer/step github.com/smallstep/cli/cmd/step
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
up:
docker-compose up
down:
docker-compose down
inspect:
step certificate inspect https://localhost:4443 --insecure
.PHONY: all binaries up down inspect
.PHONY: build build-nginx build-ca build-renewer