Use smallstep/small-cli as base image, remove step cli build
This commit is contained in:
parent
11a1297bf5
commit
3c5d1c9d3f
2 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue