Merge pull request #310 from smallstep/fix-docker-build

Fix Docker example build on Linux
This commit is contained in:
Carl Tashian 2020-07-13 12:23:03 -05:00 committed by GitHub
commit 8875097931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
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
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-nginx: