Commit 3c2a7611 authored by Kent Rancourt's avatar Kent Rancourt

Improve examples/https-nginx dependency management

parent 4711a873
...@@ -11,7 +11,7 @@ keys: ...@@ -11,7 +11,7 @@ keys:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $(KEY) -out $(CERT) -subj "/CN=nginxsvc/O=nginxsvc" openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $(KEY) -out $(CERT) -subj "/CN=nginxsvc/O=nginxsvc"
secret: secret:
CGO_ENABLED=0 GOOS=linux go run -a -installsuffix cgo -ldflags '-w' make_secret.go -crt $(CERT) -key $(KEY) > $(SECRET) godep go run make_secret.go -crt $(CERT) -key $(KEY) > $(SECRET)
container: container:
docker build -t $(PREFIX):$(TAG) . docker build -t $(PREFIX):$(TAG) .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment