Makefile 550 B

123456789101112131415161718192021222324
  1. all: binaries build up
  2. binaries:
  3. CGO_ENABLED=0 GOOS=linux go build -o ca/step-ca github.com/smallstep/certificates/cmd/step-ca
  4. build: build-nginx build-ca build-renewer
  5. build-nginx:
  6. docker build -t nginx-test:latest nginx
  7. build-ca:
  8. docker build -t step-ca-test:latest ca
  9. build-renewer:
  10. docker build -t step-renewer-test:latest renewer
  11. up:
  12. docker-compose up
  13. down:
  14. docker-compose down
  15. inspect:
  16. step certificate inspect https://localhost:4443 --insecure
  17. .PHONY: all binaries up down inspect
  18. .PHONY: build build-nginx build-ca build-renewer