include support for GCP and AWS KMS by default
This commit is contained in:
parent
df8eca2c19
commit
c1425422dd
1 changed files with 5 additions and 5 deletions
|
@ -3,15 +3,15 @@ FROM golang:alpine AS builder
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache curl git make
|
||||||
curl \
|
RUN make V=1 bin/step-ca bin/step-awskms-init bin/step-cloudkms-init
|
||||||
git \
|
|
||||||
make && \
|
|
||||||
make V=1 bin/step-ca
|
|
||||||
|
|
||||||
FROM smallstep/step-cli:latest
|
FROM smallstep/step-cli:latest
|
||||||
|
|
||||||
COPY --from=builder /src/bin/step-ca /usr/local/bin/step-ca
|
COPY --from=builder /src/bin/step-ca /usr/local/bin/step-ca
|
||||||
|
COPY --from=builder /src/bin/step-awskms-init /usr/local/bin/step-awskms-init
|
||||||
|
COPY --from=builder /src/bin/step-cloudkms-init /usr/local/bin/step-cloudkms-init
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN apk add --no-cache libcap && setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/step-ca
|
RUN apk add --no-cache libcap && setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/step-ca
|
||||||
|
|
Loading…
Reference in a new issue