Skip to content

Commit 3c5d1c9

Browse files
Use smallstep/small-cli as base image, remove step cli build
1 parent 11a1297 commit 3c5d1c9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/docker/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ all: binaries build up
22

33
binaries:
44
CGO_ENABLED=0 GOOS=linux go build -o ca/step-ca github.com/smallstep/certificates/cmd/step-ca
5-
CGO_ENABLED=0 GOOS=linux go build -o renewer/step github.com/smallstep/cli/cmd/step
65

76
build: build-nginx build-ca build-renewer
87
build-nginx:

examples/docker/renewer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM alpine:latest
1+
FROM smallstep/step-cli
22

3+
USER root
34
RUN mkdir -p /var/local/step
4-
ADD step /usr/local/bin/step
55
ADD crontab /var/spool/cron/crontabs/root
66
RUN chmod 0644 /var/spool/cron/crontabs/root
77

0 commit comments

Comments
 (0)