Merge pull request #753 from scattered-network/docker-compose-go-mod-updates

Docker Example Fix: Remove Step Build
This commit is contained in:
Mariano Cano 2021-11-24 14:42:44 -08:00 committed by GitHub
commit 78acf35bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@ all: binaries build up
binaries: binaries:
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 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:

View File

@ -1,7 +1,7 @@
FROM alpine:latest FROM smallstep/step-cli
USER root
RUN mkdir -p /var/local/step RUN mkdir -p /var/local/step
ADD step /usr/local/bin/step
ADD crontab /var/spool/cron/crontabs/root ADD crontab /var/spool/cron/crontabs/root
RUN chmod 0644 /var/spool/cron/crontabs/root RUN chmod 0644 /var/spool/cron/crontabs/root