4
0

Makefile 607 B

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