Carl Tashian 6 år sedan
förälder
incheckning
4bde83a262
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. 2 0
      examples/README.md
  2. 2 2
      examples/docker/Makefile

+ 2 - 0
examples/README.md

@@ -341,6 +341,8 @@ This example creates 3 different docker images:
   certificate and sets a cron that renews the certificate (the cron
   certificate and sets a cron that renews the certificate (the cron
   runs every minute for testing purposes).
   runs every minute for testing purposes).
 
 
+On Linux, you will need the `libpcsclite-dev` package.
+
 To run this test you need to have the docker daemon running. With docker running
 To run this test you need to have the docker daemon running. With docker running
 swith to the `examples/docker directory` and run `make`:
 swith to the `examples/docker directory` and run `make`:
 
 

+ 2 - 2
examples/docker/Makefile

@@ -1,8 +1,8 @@
 all: binaries build up
 all: binaries build up
 
 
 binaries:
 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
+	CGO_ENABLED=0 GOOS=linux go build -o ca/step-ca github.com/smallstep/certificates/cmd/step-ca
+	CGO_ENABLED=0 GOOS=linux go build -o renewer/step github.com/smallstep/cli/cmd/step
 
 
 build: build-nginx build-ca build-renewer
 build: build-nginx build-ca build-renewer
 build-nginx:
 build-nginx: